--- a/src/util.c
+++ b/src/util.c
@@ -210,7 +210,7 @@ void create_error_dialog(gchar *errorstring)
GTK_DIALOG_MODAL | GTK_DIALOG_DESTROY_WITH_PARENT,
GTK_MESSAGE_ERROR,
GTK_BUTTONS_CLOSE,
- errorstring);
+ "%s", errorstring);
g_signal_connect_object(GTK_OBJECT(dialog),
"delete_event",
G_CALLBACK(gtk_widget_destroy),
@@ -234,7 +234,7 @@ gboolean request_confirmation_dialog(gchar *confirmstring)
GTK_DIALOG_MODAL | GTK_DIALOG_DESTROY_WITH_PARENT,
GTK_MESSAGE_QUESTION,
GTK_BUTTONS_YES_NO,
- confirmstring);
+ "%s", confirmstring);
i = gtk_dialog_run(GTK_DIALOG(dialog));
gtk_widget_destroy(dialog);
if (i == GTK_RESPONSE_YES) {