diff options
Diffstat (limited to 'widgets/text/e-completion-match.c')
-rw-r--r-- | widgets/text/e-completion-match.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/widgets/text/e-completion-match.c b/widgets/text/e-completion-match.c index 19a0980516..45c54ccce3 100644 --- a/widgets/text/e-completion-match.c +++ b/widgets/text/e-completion-match.c @@ -96,13 +96,13 @@ e_completion_match_set_text (ECompletionMatch *match, if (match_text == NULL) { match_text = "Unknown_Match"; - } else if (! g_utf8_validate (match_text, 0, NULL)) { + } else if (! g_utf8_validate (match_text, -1, NULL)) { match_text = "Invalid_UTF8"; } if (menu_text == NULL) { menu_text = match_text; - } else if (! g_utf8_validate (menu_text, 0, NULL)) { + } else if (! g_utf8_validate (menu_text, -1, NULL)) { menu_text = "Invalid_UTF8"; } |