diff options
Diffstat (limited to 'em-format/e-mail-formatter-text-html.c')
-rw-r--r-- | em-format/e-mail-formatter-text-html.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/em-format/e-mail-formatter-text-html.c b/em-format/e-mail-formatter-text-html.c index f4fb3ea4dd..5f493b2f4d 100644 --- a/em-format/e-mail-formatter-text-html.c +++ b/em-format/e-mail-formatter-text-html.c @@ -69,6 +69,7 @@ get_tag (const gchar *utf8_string, gunichar c; gboolean has_end; + c = '\0'; t = g_utf8_find_prev_char (utf8_string, closing); while (t != opening) { @@ -90,6 +91,7 @@ get_tag (const gchar *utf8_string, t = g_utf8_find_next_char (t, NULL); } + has_end = FALSE; do { c = g_utf8_get_char (t); |