diff options
Diffstat (limited to 'e-util/e-html-utils.c')
-rw-r--r-- | e-util/e-html-utils.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/e-util/e-html-utils.c b/e-util/e-html-utils.c index ff23be5533..7395f6144b 100644 --- a/e-util/e-html-utils.c +++ b/e-util/e-html-utils.c @@ -156,6 +156,8 @@ e_text_to_html (const char *input, unsigned int flags) g_free (dispurl); } + if (!*cur) + break; unicode_get_utf8 (cur, &u); } if (u == (unicode_char_t)-1) { |