From 0f332c6c834094611227374422ba0afccd560cf8 Mon Sep 17 00:00:00 2001 From: Sergio Villar Senin Date: Fri, 7 Nov 2008 12:41:11 +0000 Subject: [PATCH] * Fixes NB#91649, fixes a wrong condition pmo-trunk-r6235 --- src/modest-text-utils.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/modest-text-utils.c b/src/modest-text-utils.c index d3805a1..85df268 100644 --- a/src/modest-text-utils.c +++ b/src/modest-text-utils.c @@ -1269,7 +1269,7 @@ modest_text_utils_get_subject_prefix_len (const gchar *sub) int c = prefix_len + 1; while (sub[c] && sub[c] != ']') ++c; - if (sub[c]) + if (!sub[c]) return 0; /* no end to the ']' found */ else prefix_len = c + 1; -- 1.7.9.5