[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:
WooHyun Jung 2012-02-03 11:24:44 +00:00
parent 95e78175a5
commit 768b9af1fb
1 changed files with 1 additions and 1 deletions

View File

@ -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)