Sophie

Sophie

distrib > Mandriva > 2010.2 > i586 > media > contrib-release-src > by-pkgid > a61ea15d374250920d6e177becd7b26b > files > 3

gphpedit-0.9.91-5mdv2010.1.src.rpm

--- src/preferences_dialog.c.str	2010-02-18 09:07:28.000000000 +0100
+++ src/preferences_dialog.c	2010-02-18 09:07:49.000000000 +0100
@@ -673,7 +673,7 @@
 		g_string_printf(message, _("You have just changed the font to %s\n\nWould you like to use this font as the default for every element?"), gtk_combo_box_get_active_text(GTK_COMBO_BOX(preferences_dialog.font_combo)));
 		//gtk_combo_box_popdown(GTK_COMBO_BOX(preferences_dialog.font_combo));
 		dialog = gtk_message_dialog_new(NULL, GTK_DIALOG_MODAL, GTK_MESSAGE_QUESTION,
-				  GTK_BUTTONS_YES_NO, message->str);
+				  GTK_BUTTONS_YES_NO, "%s", message->str);
 		result = gtk_dialog_run (GTK_DIALOG (dialog));
 		gtk_widget_destroy (dialog);
 		change_font_global_callback(result, tempfontname->str);		
@@ -689,7 +689,7 @@
 		g_string_printf(message, _("You have just changed the font size to %dpt\n\nWould you like to use this font size as the default for every element?"), newfontsize);
 		//gtk_combo_box_popdown(GTK_COMBO_BOX(preferences_dialog.size_combo));
 		dialog = gtk_message_dialog_new(NULL, GTK_DIALOG_MODAL, GTK_MESSAGE_QUESTION,
-				  GTK_BUTTONS_YES_NO, message->str);
+				  GTK_BUTTONS_YES_NO, "%s", message->str);
 		result = gtk_dialog_run (GTK_DIALOG (dialog));
 		gtk_widget_destroy (dialog);
 		change_size_global_callback(result, (gpointer)newfontsize);