aboutsummaryrefslogtreecommitdiffstats
path: root/mail/folder-browser.c
diff options
context:
space:
mode:
Diffstat (limited to 'mail/folder-browser.c')
-rw-r--r--mail/folder-browser.c4
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++;