From 9cc7e69338e8b833e8feb200144bd63fbf6daf24 Mon Sep 17 00:00:00 2001 From: Tom Hacohen Date: Wed, 5 Feb 2014 13:51:22 +0000 Subject: [PATCH] Evas textblock: Improved error messages when detecting errors in markup. --- src/lib/evas/canvas/evas_object_textblock.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/lib/evas/canvas/evas_object_textblock.c b/src/lib/evas/canvas/evas_object_textblock.c index c2c1d06971..251b3d98e5 100644 --- a/src/lib/evas/canvas/evas_object_textblock.c +++ b/src/lib/evas/canvas/evas_object_textblock.c @@ -6564,7 +6564,7 @@ evas_textblock_text_markup_to_utf8(const Evas_Object *eo_obj, const char *text) } else { - ERR("There is a invalid markup tag. Please check the text."); + ERR("There is a invalid markup tag at positoin '%u'. Please check the text.", (unsigned int) (p - text)); } } if (*p == 0) @@ -6585,7 +6585,7 @@ evas_textblock_text_markup_to_utf8(const Evas_Object *eo_obj, const char *text) } else { - ERR("There is a invalid markup tag. Please check the text."); + ERR("There is a invalid markup tag at positoin '%u'. Please check the text.", (unsigned int) (p - text)); } } } @@ -6612,7 +6612,7 @@ evas_textblock_text_markup_to_utf8(const Evas_Object *eo_obj, const char *text) } else { - ERR("There is a invalid markup tag. Please check the text."); + ERR("There is a invalid markup tag at positoin '%u'. Please check the text.", (unsigned int) (p - text)); } } }