Re: [evolution-patches] fix for bug #67622




go for it.

On Thu, 2004-10-07 at 14:10 -0400, Jeffrey Stedfast wrote:
http://bugzilla.ximian.com/show_bug.cgi?id=67622

Easy fix.

Jeff
text/plain attachment (67622.patch)
? 67622.patch
Index: ChangeLog
===================================================================
RCS file: /cvs/gnome/evolution/e-util/ChangeLog,v
retrieving revision 1.481.2.1
diff -u -r1.481.2.1 ChangeLog
--- ChangeLog	16 Sep 2004 14:45:54 -0000	1.481.2.1
+++ ChangeLog	7 Oct 2004 18:07:03 -0000
@@ -1,3 +1,9 @@
+2004-10-07  Jeffrey Stedfast  <fejj novell com>
+
+	* e-passwords.c (ep_ask_password): Use "%s" as the formatter
+	argument and msg->prompt as a printf-style argument rather than
+	using it as the format string. Fixes bug #67622.
+
 2004-08-27  Not Zed  <NotZed Ximian com>
 
 	* e-passwords.c (e_passwords_ask_password): return cancelled if
Index: e-passwords.c
===================================================================
RCS file: /cvs/gnome/evolution/e-util/e-passwords.c,v
retrieving revision 1.20.2.1
diff -u -r1.20.2.1 e-passwords.c
--- e-passwords.c	16 Sep 2004 14:45:54 -0000	1.20.2.1
+++ e-passwords.c	7 Oct 2004 18:07:03 -0000
@@ -428,7 +428,7 @@
 							       0,
 							       GTK_MESSAGE_QUESTION,
 							       GTK_BUTTONS_OK_CANCEL,
-							       msg->prompt);
+							       "%s", msg->prompt);
 	gtk_window_set_title(GTK_WINDOW(password_dialog), msg->title);
 
 #if !GTK_CHECK_VERSION (2,4,0)
--
Michael Zucchi <notzed ximian com>
"born to die, live to work, it's all downhill from here"
Novell's Evolution and Free Software Developer


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