Enlightenment CVS committal

Author  : kwo
Project : e16
Module  : e

Dir     : e16/e/src


Modified Files:
        text.c 


Log Message:
Text shortening fix corretion.

===================================================================
RCS file: /cvs/e/e16/e/src/text.c,v
retrieving revision 1.80
retrieving revision 1.81
diff -u -3 -r1.80 -r1.81
--- text.c      12 Nov 2006 00:39:19 -0000      1.80
+++ text.c      12 Nov 2006 11:00:33 -0000      1.81
@@ -375,11 +375,10 @@
          {
             int                 mlen;
 
-            mlen = mblen(text, MB_CUR_MAX);
+            mlen = EwcWcsToStr(wc_line, 1, new_line, MB_CUR_MAX);
             if (mlen < 0)
                mlen = 1;
 
-            memcpy(new_line, text, mlen);
             strcpy(new_line + mlen, "...");
             break;
          }



-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to