aboutsummaryrefslogtreecommitdiffstats
path: root/em-format/e-mail-formatter-text-html.c
diff options
context:
space:
mode:
Diffstat (limited to 'em-format/e-mail-formatter-text-html.c')
-rw-r--r--em-format/e-mail-formatter-text-html.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/em-format/e-mail-formatter-text-html.c b/em-format/e-mail-formatter-text-html.c
index 17632fa03f..1065474a33 100644
--- a/em-format/e-mail-formatter-text-html.c
+++ b/em-format/e-mail-formatter-text-html.c
@@ -191,12 +191,10 @@ emfe_text_html_format (EMailFormatterExtension *extension,
closing = g_utf8_strchr (pos, -1, '>');
/* Find where the actual tag name begins */
- tag = g_utf8_find_next_char (pos, NULL);
- while ((tag = g_utf8_find_next_char (pos, NULL)) != NULL) {
+ while (tag = g_utf8_find_next_char (pos, NULL), tag != NULL) {
gunichar c = g_utf8_get_char (tag);
if (!g_unichar_isspace (c))
break;
-
}
if (g_ascii_strncasecmp (tag, "style", 5) == 0) {