Enlightenment CVS committal

Author  : raster
Project : e17
Module  : libs/evas

Dir     : e17/libs/evas/src/lib/engines/common


Modified Files:
        evas_font_main.c 


Log Message:


fix corner case of starting at nul terminator byte at end and getting prev
charater of utf-8 string

===================================================================
RCS file: 
/cvsroot/enlightenment/e17/libs/evas/src/lib/engines/common/evas_font_main.c,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -3 -r1.3 -r1.4
--- evas_font_main.c    5 Jun 2003 06:08:42 -0000       1.3
+++ evas_font_main.c    6 Jun 2003 00:41:07 -0000       1.4
@@ -151,8 +151,6 @@
    int index = *iindex, r, istart = *iindex;
    unsigned char d = buf[index++], d2, d3, d4;
    
-   if (!d)
-     return 0;
    if (d < 0x80) 
      {
        r = d;




-------------------------------------------------------
This SF.net email is sponsored by:  Etnus, makers of TotalView, The best
thread debugger on the planet. Designed with thread debugging features
you've never dreamed of, try TotalView 6 free at www.etnus.com.
_______________________________________________
enlightenment-cvs mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to