diff options
Diffstat (limited to '010-fix-format-safety.patch')
-rw-r--r-- | 010-fix-format-safety.patch | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/010-fix-format-safety.patch b/010-fix-format-safety.patch new file mode 100644 index 000000000000..6b36f4dd0ebe --- /dev/null +++ b/010-fix-format-safety.patch @@ -0,0 +1,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); + + |