summaryrefslogtreecommitdiff
path: root/games-emulation/nestopia/files/nestopia-1.46.2-format.patch
blob: 7c8a9027aec5b8e2767ac376f72cc6dd06ae32a0 (plain)
1
2
3
4
5
6
7
8
9
10
11
--- source/unix/gtkui/gtkui.cpp.old	2015-11-11 09:13:57.417684436 +0100
+++ source/unix/gtkui/gtkui.cpp	2015-11-11 09:14:12.176407155 +0100
@@ -317,7 +317,7 @@
 				GTK_DIALOG_DESTROY_WITH_PARENT,
 				GTK_MESSAGE_INFO,
 				GTK_BUTTONS_OK,
-				message);
+				"%s", message);
 	gtk_dialog_run(GTK_DIALOG(messagewindow));
 	gtk_widget_destroy(messagewindow);
 }