aboutsummaryrefslogtreecommitdiff
path: root/src/prefs_filter_edit.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/prefs_filter_edit.c')
-rw-r--r--src/prefs_filter_edit.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/prefs_filter_edit.c b/src/prefs_filter_edit.c
index f5a80496..52821448 100644
--- a/src/prefs_filter_edit.c
+++ b/src/prefs_filter_edit.c
@@ -1579,6 +1579,7 @@ static void prefs_filter_edit_edit_header_list(FilterCondEdit *cond_edit)
}
FilterCond *prefs_filter_edit_cond_hbox_to_cond(CondHBox *hbox,
+ gboolean case_sens,
gchar **error_msg)
{
FilterCond *cond = NULL;
@@ -1631,6 +1632,9 @@ FilterCond *prefs_filter_edit_cond_hbox_to_cond(CondHBox *hbox,
break;
}
+ if (case_sens)
+ match_flag |= FLT_CASE_SENS;
+
switch (cond_menu_type) {
case PF_COND_HEADER:
header_name = g_object_get_data
@@ -1794,7 +1798,8 @@ static FilterRule *prefs_filter_edit_dialog_to_rule(void)
CondHBox *hbox = (CondHBox *)cur->data;
FilterCond *cond;
- cond = prefs_filter_edit_cond_hbox_to_cond(hbox, &error_msg);
+ cond = prefs_filter_edit_cond_hbox_to_cond(hbox, FALSE,
+ &error_msg);
if (cond)
cond_list = g_slist_append(cond_list, cond);
else {