gnome-games r7778 - trunk/aisleriot
- From: chpe svn gnome org
- To: svn-commits-list gnome org
- Subject: gnome-games r7778 - trunk/aisleriot
- Date: Mon, 14 Jul 2008 22:05:32 +0000 (UTC)
Author: chpe
Date: Mon Jul 14 22:05:32 2008
New Revision: 7778
URL: http://svn.gnome.org/viewvc/gnome-games?rev=7778&view=rev
Log:
Use %s here to proof against printf escapes in the string.
Modified:
trunk/aisleriot/window.c
Modified: trunk/aisleriot/window.c
==============================================================================
--- trunk/aisleriot/window.c (original)
+++ trunk/aisleriot/window.c Mon Jul 14 22:05:32 2008
@@ -935,7 +935,7 @@
GTK_DIALOG_MODAL,
GTK_MESSAGE_QUESTION,
GTK_BUTTONS_OK_CANCEL,
- "Choose game seed");
+ "%s", "Choose game seed");
g_signal_connect (dialog, "response",
G_CALLBACK (debug_choose_seed_response_cb), window);
gtk_dialog_set_default_response (GTK_DIALOG (dialog), GTK_RESPONSE_OK);
@@ -1963,7 +1963,7 @@
GTK_DIALOG_DESTROY_WITH_PARENT,
GTK_MESSAGE_ERROR,
GTK_BUTTONS_NONE,
- _("A scheme exception occurred"));
+ "%s", _("A scheme exception occurred"));
gtk_message_dialog_format_secondary_text
(GTK_MESSAGE_DIALOG (dialog),
"%s", _("Please report this bug to the developers."));
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]