From 9c6a4c53a982c74f66dd5cfa508c7dccf284962c Mon Sep 17 00:00:00 2001 From: Not Zed Date: Tue, 30 May 2000 22:54:37 +0000 Subject: Properly encode the search string. 2000-05-30 Not Zed * folder-browser.c (search_set): Properly encode the search string. svn path=/trunk/; revision=3301 --- mail/folder-browser.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'mail/folder-browser.c') 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 #include #include "e-util/e-util.h" +#include "e-util/e-sexp.h" #include "folder-browser.h" #include "mail.h" #include "message-list.h" #include - #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++; -- cgit