diff -p -up ghex-2.24.0/src/ui.c.format-strings ghex-2.24.0/src/ui.c --- ghex-2.24.0/src/ui.c.format-strings 2008-08-13 05:58:20.000000000 +0200 +++ ghex-2.24.0/src/ui.c 2009-02-19 07:28:12.000000000 +0100 @@ -917,7 +917,7 @@ display_error_dialog (GHexWindow *win, c GTK_DIALOG_MODAL | GTK_DIALOG_DESTROY_WITH_PARENT, GTK_MESSAGE_ERROR, GTK_BUTTONS_OK, - msg); + "%s", msg); gtk_dialog_set_default_response (GTK_DIALOG (error_dlg), GTK_RESPONSE_OK); gtk_window_set_resizable (GTK_WINDOW (error_dlg), FALSE); @@ -942,7 +942,7 @@ display_info_dialog (GHexWindow *win, co GTK_DIALOG_MODAL | GTK_DIALOG_DESTROY_WITH_PARENT, GTK_MESSAGE_ERROR, GTK_BUTTONS_OK, - real_msg); + "%s", real_msg); g_free(real_msg); gtk_dialog_set_default_response (GTK_DIALOG (info_dlg), GTK_RESPONSE_OK);