From f21729e216f246b3efd10fb0fb87f98ab0e74d8e Mon Sep 17 00:00:00 2001 From: Martin Kretzschmar Date: Fri, 18 Jul 2003 20:35:47 +0000 Subject: [PATCH] use more informative error messages when emitting loading-failed. Kill * xpdf/gpdf-persist-file.cc (impl_bonobo_persist_file_load): use more informative error messages when emitting loading-failed. Kill gotos :-). Whitespace cleanups. * xpdf/gpdf-control.cc (persist_file_loading_failed_cb): kill redundancy in error message; unset PDF document. * xpdf/eog-hig-dialog.c (eog_hig_dialog_new): remove a newline --- pdf/xpdf/eog-hig-dialog.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pdf/xpdf/eog-hig-dialog.c b/pdf/xpdf/eog-hig-dialog.c index 121e8442..f6b95b3d 100644 --- a/pdf/xpdf/eog-hig-dialog.c +++ b/pdf/xpdf/eog-hig-dialog.c @@ -65,7 +65,7 @@ eog_hig_dialog_new (const char *stock_id, const char *header, const char *body, if (body != NULL) { g_snprintf (message, message_len, - "%s\n\n%s\n", header, body); + "%s\n\n%s", header, body); } else { g_snprintf (message, message_len, -- 2.43.5