diff options
Diffstat (limited to 'camel/camel-search-private.c')
-rw-r--r-- | camel/camel-search-private.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/camel/camel-search-private.c b/camel/camel-search-private.c index e46cc29cc8..65f6c17ff9 100644 --- a/camel/camel-search-private.c +++ b/camel/camel-search-private.c @@ -200,7 +200,7 @@ utf8_get (const char **inp) g_return_val_if_fail (p != NULL, 0); c = g_utf8_get_char (p); - *inp = g_utf8_next_char (p); + *inp = g_unichar_validate (c) ? g_utf8_next_char (p) : NULL; return c; } |