projects
/
modest
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
afbf9d9
)
Fix some warnings in headers search.
author
José Dapena Paz
<jdapena@igalia.com>
Fri, 5 Feb 2010 12:33:12 +0000
(13:33 +0100)
committer
José Dapena Paz
<jdapena@igalia.com>
Fri, 5 Feb 2010 15:27:32 +0000
(16:27 +0100)
src/widgets/modest-header-view.c
patch
|
blob
|
history
diff --git
a/src/widgets/modest-header-view.c
b/src/widgets/modest-header-view.c
index
2b521a9
..
448fdaa
100644
(file)
--- 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);
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);
g_free (subject);
- bcc_fold = g_utf8_casefold (bcc, -1);
+ bcc_fold = bcc?g_utf8_casefold (bcc, -1):NULL;
g_free (bcc);
g_free (bcc);
- cc_fold = g_utf8_casefold (cc, -1);
+ cc_fold = cc?g_utf8_casefold (cc, -1):NULL;
g_free (cc);
g_free (cc);
- to_fold = g_utf8_casefold (to, -1);
+ to_fold = to?g_utf8_casefold (to, -1):NULL;
g_free (to);
g_free (to);
- from_fold = g_utf8_casefold (from, -1);
+ from_fold = from?g_utf8_casefold (from, -1):NULL;
g_free (from);
found = TRUE;
g_free (from);
found = TRUE;