[*][textblock] merge with 67696 for fixing BS when trying markup_to_utf8 with invalid...
authorWooHyun Jung <wh0705.jung@samsung.com>
Sat, 4 Feb 2012 04:37:37 +0000 (13:37 +0900)
committerWooHyun Jung <wh0705.jung@samsung.com>
Sat, 4 Feb 2012 04:37:37 +0000 (13:37 +0900)
src/lib/canvas/evas_object_textblock.c

index 8c530b4..583ede6 100644 (file)
@@ -5217,7 +5217,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)