summaryrefslogtreecommitdiff
path: root/cwiid-format-security.patch
blob: c4044df481b08c133d65c082244eba840d71d312 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
diff --git a/wmgui/main.c b/wmgui/main.c
--- a/wmgui/main.c
+++ b/wmgui/main.c
@@ -442,7 +442,7 @@ void message(GtkMessageType type, const gchar *message, GtkWindow *parent)
 {
 	GtkWidget *dialog;
 
-	dialog = gtk_message_dialog_new(parent, 0, type, GTK_BUTTONS_OK, message);
+	dialog = gtk_message_dialog_new(parent, 0, type, GTK_BUTTONS_OK, "%s", message);
 	gtk_dialog_run(GTK_DIALOG(dialog));
 	gtk_widget_destroy(dialog);
 }