Enlightenment CVS committal
Author : tsauerbeck
Project : e17
Module : libs/evas
Dir : e17/libs/evas/src/lib/canvas
Modified Files:
evas_object_text.c
Log Message:
don't try to get the previous character to position 0
===================================================================
RCS file: /cvsroot/enlightenment/e17/libs/evas/src/lib/canvas/evas_object_text.c,v
retrieving revision 1.26
retrieving revision 1.27
diff -u -3 -r1.26 -r1.27
--- evas_object_text.c 12 Aug 2004 12:14:00 -0000 1.26
+++ evas_object_text.c 12 Aug 2004 18:59:03 -0000 1.27
@@ -1251,7 +1251,7 @@
if (decoded) *decoded = 0;
if (!str) return 0;
- if (pos < 0) return 0;
+ if (pos < 1) return 0;
p = pos;
d = evas_common_font_utf8_get_prev((char *)str, &p);
if (decoded) *decoded = d;
-------------------------------------------------------
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
_______________________________________________
enlightenment-cvs mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs