diff options
author | Jeffrey Stedfast <fejj@novell.com> | 2004-10-14 01:25:37 +0800 |
---|---|---|
committer | Jeffrey Stedfast <fejj@src.gnome.org> | 2004-10-14 01:25:37 +0800 |
commit | 593cf4d9e9247d5d694a71371b42724bd82fe1be (patch) | |
tree | 9adbadd2288f028946374ceaf9d986a4c0d75648 | |
parent | e6cd94bc561f0ba7545a6c66bd6192e431ff6589 (diff) | |
download | gsoc2013-evolution-593cf4d9e9247d5d694a71371b42724bd82fe1be.tar.gz gsoc2013-evolution-593cf4d9e9247d5d694a71371b42724bd82fe1be.tar.zst gsoc2013-evolution-593cf4d9e9247d5d694a71371b42724bd82fe1be.zip |
Use "%s" as the formatter argument and msg->prompt as a printf-style
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.
svn path=/trunk/; revision=27566
-rw-r--r-- | e-util/ChangeLog | 6 | ||||
-rw-r--r-- | e-util/e-passwords.c | 2 |
2 files changed, 7 insertions, 1 deletions
diff --git a/e-util/ChangeLog b/e-util/ChangeLog index 71e6c2c438..a9b57cd080 100644 --- a/e-util/ChangeLog +++ b/e-util/ChangeLog @@ -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-10-12 Not Zed <NotZed@Ximian.com> * e-config.c (ech_check, ech_config_factory, emph_construct_menu): diff --git a/e-util/e-passwords.c b/e-util/e-passwords.c index d64f7a33dc..6fe405ee50 100644 --- a/e-util/e-passwords.c +++ b/e-util/e-passwords.c @@ -428,7 +428,7 @@ ep_ask_password(EPassMsg *msg) 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) |