gnome-games r7940 - trunk/mahjongg
- From: chpe svn gnome org
- To: svn-commits-list gnome org
- Subject: gnome-games r7940 - trunk/mahjongg
- Date: Sat, 27 Sep 2008 13:11:56 +0000 (UTC)
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]