summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorBerke Viktor <bviktor@outlook.com>2013-03-31 09:44:30 -0700
committerBerke Viktor <bviktor@outlook.com>2013-03-31 09:44:30 -0700
commitf285cf85ebe1b76469718052af5206e79ce81a3e (patch)
tree6953420e3e13cc9cc12bc46501d84db40d6b77e4
parentbda48b1889b265dd38b0953dd6c97e46ef869574 (diff)
parent8fb4bfb28893ddb8f7337431303293335bc9c61d (diff)
Merge pull request #483 from gusnan/master
Fix build error with DEB_BUILD_HARDENING_FORMAT
-rw-r--r--src/fe-gtk/fe-gtk.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fe-gtk/fe-gtk.c b/src/fe-gtk/fe-gtk.c
index 7ed55cbd..b91ad2bb 100644
--- a/src/fe-gtk/fe-gtk.c
+++ b/src/fe-gtk/fe-gtk.c
@@ -149,7 +149,7 @@ create_msg_dialog (gchar *title, gchar *message)
 {
 	GtkWidget *dialog;
 
-	dialog = gtk_message_dialog_new (NULL, GTK_DIALOG_MODAL, GTK_MESSAGE_INFO, GTK_BUTTONS_CLOSE, message);
+	dialog = gtk_message_dialog_new (NULL, GTK_DIALOG_MODAL, GTK_MESSAGE_INFO, GTK_BUTTONS_CLOSE, "%s", message);
 	gtk_window_set_title (GTK_WINDOW (dialog), title);
 
 /* On Win32 we automatically have the icon. If we try to load it explicitly, it will look ugly for some reason. */