gnome-games r7977 - trunk/gnobots2
- From: chpe svn gnome org
- To: svn-commits-list gnome org
- Subject: gnome-games r7977 - trunk/gnobots2
- Date: Wed, 8 Oct 2008 20:02:00 +0000 (UTC)
Author: chpe
Date: Wed Oct 8 20:02:00 2008
New Revision: 7977
URL: http://svn.gnome.org/viewvc/gnome-games?rev=7977&view=rev
Log:
Printf a literal string with %s. Fixes build with -Wformat-security
Modified:
trunk/gnobots2/game.c
Modified: trunk/gnobots2/game.c
==============================================================================
--- trunk/gnobots2/game.c (original)
+++ trunk/gnobots2/game.c Wed Oct 8 20:02:00 2008
@@ -113,7 +113,7 @@
GtkWidget *box;
box = gtk_message_dialog_new (GTK_WINDOW (app), GTK_DIALOG_MODAL,
- GTK_MESSAGE_INFO, GTK_BUTTONS_OK, msg);
+ GTK_MESSAGE_INFO, GTK_BUTTONS_OK, "%s", msg);
gtk_dialog_run (GTK_DIALOG (box));
gtk_widget_destroy (box);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]