tasn pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=9cc7e69338e8b833e8feb200144bd63fbf6daf24

commit 9cc7e69338e8b833e8feb200144bd63fbf6daf24
Author: Tom Hacohen <[email protected]>
Date:   Wed Feb 5 13:51:22 2014 +0000

    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 c2c1d06..251b3d9 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));
                     }
                }
           }

-- 


Reply via email to