Enlightenment CVS committal Author : raster Project : e17 Module : libs/evas
Dir : e17/libs/evas/src/lib/canvas Modified Files: evas_object_textblock.c Log Message: dont need quote games there. we have escapes =================================================================== RCS file: /cvsroot/enlightenment/e17/libs/evas/src/lib/canvas/evas_object_textblock.c,v retrieving revision 1.98 retrieving revision 1.99 diff -u -3 -r1.98 -r1.99 --- evas_object_textblock.c 14 Sep 2005 12:37:42 -0000 1.98 +++ evas_object_textblock.c 14 Sep 2005 12:44:33 -0000 1.99 @@ -1098,7 +1098,6 @@ { char *p, *item, *ss, *ds; char *s1 = NULL, *s2 = NULL; - int quote = 0; p = *s; if (*p == 0) return NULL; @@ -1111,20 +1110,9 @@ } else if (!s2) { - if (!quote) + if ((p > *s) && (p[-1] != '\\')) { - if ((p > *s) && (p[-1] != '\\')) - { - if (*p == '"') quote = 1; - else if (*p == ' ') s2 = p; - } - } - else - { - if ((p > *s) && (p[-1] != '\\')) - { - if (*p == '"') quote = 0; - } + if (*p == ' ') s2 = p; } if (*p == 0) s2 = p; } ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ enlightenment-cvs mailing list enlightenment-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs