diff options
author | Not Zed <NotZed@HelixCode.com> | 2000-05-31 06:54:37 +0800 |
---|---|---|
committer | Michael Zucci <zucchi@src.gnome.org> | 2000-05-31 06:54:37 +0800 |
commit | 9c6a4c53a982c74f66dd5cfa508c7dccf284962c (patch) | |
tree | d8fe7ec2c898d20976801c918e8e8865bcafbacf /mail/folder-browser.c | |
parent | 75353e0bff2661faf013f87aed65fbc58bb0ab68 (diff) | |
download | gsoc2013-evolution-9c6a4c53a982c74f66dd5cfa508c7dccf284962c.tar gsoc2013-evolution-9c6a4c53a982c74f66dd5cfa508c7dccf284962c.tar.gz gsoc2013-evolution-9c6a4c53a982c74f66dd5cfa508c7dccf284962c.tar.bz2 gsoc2013-evolution-9c6a4c53a982c74f66dd5cfa508c7dccf284962c.tar.lz gsoc2013-evolution-9c6a4c53a982c74f66dd5cfa508c7dccf284962c.tar.xz gsoc2013-evolution-9c6a4c53a982c74f66dd5cfa508c7dccf284962c.tar.zst gsoc2013-evolution-9c6a4c53a982c74f66dd5cfa508c7dccf284962c.zip |
Properly encode the search string.
2000-05-30 Not Zed <NotZed@HelixCode.com>
* folder-browser.c (search_set): Properly encode the search string.
svn path=/trunk/; revision=3301
Diffstat (limited to 'mail/folder-browser.c')
-rw-r--r-- | mail/folder-browser.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mail/folder-browser.c b/mail/folder-browser.c index 82972e0dbd..426d163bd6 100644 --- a/mail/folder-browser.c +++ b/mail/folder-browser.c @@ -10,12 +10,12 @@ #include <config.h> #include <gnome.h> #include "e-util/e-util.h" +#include "e-util/e-sexp.h" #include "folder-browser.h" #include "mail.h" #include "message-list.h" #include <widgets/e-paned/e-vpaned.h> - #define PARENT_TYPE (gtk_table_get_type ()) static GtkObjectClass *folder_browser_parent_class; @@ -297,7 +297,7 @@ search_set(FolderBrowser *fb) while (*str) { if (str[0] == '%' && str[1]=='s') { str+=2; - g_string_sprintfa(out, "\"%s\"", text); + e_sexp_encode_string(out, text); } else { g_string_append_c(out, *str); str++; |