aboutsummaryrefslogtreecommitdiffstats
path: root/e-util/e-html-utils.c
diff options
context:
space:
mode:
Diffstat (limited to 'e-util/e-html-utils.c')
-rw-r--r--e-util/e-html-utils.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/e-util/e-html-utils.c b/e-util/e-html-utils.c
index ac8e7c6425..2b5e3d2d37 100644
--- a/e-util/e-html-utils.c
+++ b/e-util/e-html-utils.c
@@ -307,6 +307,8 @@ e_text_to_html_full (const char *input, unsigned int flags, guint32 color)
g_free (dispaddr);
g_free (outaddr);
+ if (!*cur)
+ break;
u = g_utf8_get_char (cur);
}
}