gnome-games r7940 - trunk/mahjongg



Author: chpe
Date: Sat Sep 27 13:11:56 2008
New Revision: 7940
URL: http://svn.gnome.org/viewvc/gnome-games?rev=7940&view=rev

Log:
Fix missing format string (-Wformat-security).

Modified:
   trunk/mahjongg/mahjongg.c

Modified: trunk/mahjongg/mahjongg.c
==============================================================================
--- trunk/mahjongg/mahjongg.c	(original)
+++ trunk/mahjongg/mahjongg.c	Sat Sep 27 13:11:56 2008
@@ -155,7 +155,7 @@
 				   GTK_BUTTONS_CLOSE,
 				   _("Could not load tile set"));
   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]