From c24e7a5bf4a8917400f89c9b06529cbec89e9aac Mon Sep 17 00:00:00 2001 From: =?utf8?q?Jos=C3=A9=20Dapena=20Paz?= Date: Fri, 5 Feb 2010 13:33:12 +0100 Subject: [PATCH] Fix some warnings in headers search. --- src/widgets/modest-header-view.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/widgets/modest-header-view.c b/src/widgets/modest-header-view.c index 2b521a9..448fdaa 100644 --- a/src/widgets/modest-header-view.c +++ b/src/widgets/modest-header-view.c @@ -2172,15 +2172,15 @@ header_match_string (TnyHeader *header, gchar **words) to = tny_header_dup_to (header); from = tny_header_dup_from (header); - subject_fold = g_utf8_casefold (subject, -1); + subject_fold = subject?g_utf8_casefold (subject, -1):NULL; g_free (subject); - bcc_fold = g_utf8_casefold (bcc, -1); + bcc_fold = bcc?g_utf8_casefold (bcc, -1):NULL; g_free (bcc); - cc_fold = g_utf8_casefold (cc, -1); + cc_fold = cc?g_utf8_casefold (cc, -1):NULL; g_free (cc); - to_fold = g_utf8_casefold (to, -1); + to_fold = to?g_utf8_casefold (to, -1):NULL; g_free (to); - from_fold = g_utf8_casefold (from, -1); + from_fold = from?g_utf8_casefold (from, -1):NULL; g_free (from); found = TRUE; -- 1.7.9.5