gnome-games r7975 - trunk/glines



Author: chpe
Date: Wed Oct  8 20:01:57 2008
New Revision: 7975
URL: http://svn.gnome.org/viewvc/gnome-games?rev=7975&view=rev

Log:
Printf a literal string with %s. Fixes build with -Wformat-security

Modified:
   trunk/glines/glines.c

Modified: trunk/glines/glines.c
==============================================================================
--- trunk/glines/glines.c	(original)
+++ trunk/glines/glines.c	Wed Oct  8 20:01:57 2008
@@ -192,10 +192,10 @@
 				   GTK_DIALOG_MODAL,
 				   GTK_MESSAGE_WARNING,
 				   GTK_BUTTONS_CLOSE,
-				   _("Could not load theme"));
+				   "%s",_("Could not load theme"));
 
   gtk_message_dialog_format_secondary_text (GTK_MESSAGE_DIALOG (dialog),
-					    message);
+					    "%s", message);
 
   button = gtk_dialog_add_button (GTK_DIALOG (dialog),
 				  _("Preferences"), GTK_RESPONSE_ACCEPT);



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]