summarylogtreecommitdiffstats
path: root/010-fix-format-safety.patch
blob: 6b36f4dd0ebe73b91bce9aa06835f0c49c738b23 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
Description: Changed the code to be compilable
Author: Sven Herzberg <herzi@gnome-de.org>
Bug-Ubuntu: https://launchpad.net/bugs/303464
--- monkey-bubble.orig/src/ui/ui-main.c
+++ monkey-bubble/src/ui/ui-main.c
@@ -668,7 +668,7 @@ static void show_error_dialog (GtkWindow
                                          GTK_DIALOG_DESTROY_WITH_PARENT,
                                          GTK_MESSAGE_ERROR,
                                          GTK_BUTTONS_CLOSE,
-                                         message);
+                                         "%s", message ? message : "");
     
         g_signal_connect (G_OBJECT (dialog), "response", G_CALLBACK (gtk_widget_destroy), NULL);