[evas/evas_object_textblock] When markup_to_utf8 is tried with an invalid
escape tag, escape will be NULL. "eina_strbuf_append" should not be called with NULL string. SVN revision: 67696
This commit is contained in:
parent
95e78175a5
commit
768b9af1fb
|
@ -5284,7 +5284,7 @@ evas_textblock_text_markup_to_utf8(const Evas_Object *obj, const char *text)
|
|||
const char *escape;
|
||||
|
||||
escape = _escaped_char_get(esc_start, esc_end + 1);
|
||||
eina_strbuf_append(sbuf, escape);
|
||||
if (escape) eina_strbuf_append(sbuf, escape);
|
||||
esc_start = esc_end = NULL;
|
||||
}
|
||||
else if (*p == 0)
|
||||
|
|
Loading…
Reference in New Issue