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:


actualyl don't need that. it's already de-escaped

===================================================================
RCS file: 
/cvsroot/enlightenment/e17/libs/evas/src/lib/canvas/evas_object_textblock.c,v
retrieving revision 1.102
retrieving revision 1.103
diff -u -3 -r1.102 -r1.103
--- evas_object_textblock.c     14 Sep 2005 13:45:12 -0000      1.102
+++ evas_object_textblock.c     14 Sep 2005 14:08:02 -0000      1.103
@@ -1061,22 +1061,6 @@
    return 0;
 }
 
-static char *
-_str_deescape(char *str)
-{
-   char *s2, *s, *d;
-   
-   s2 = malloc(strlen(str) + 1);
-   if (!s2) return NULL;
-   for (s = str, d = s2; *s != 0; s++, d++)
-     {
-       if ((*s == '\\') && (s[1] != 0)) s++;
-       *d = *s;
-     }
-   *d = 0;
-   return s2;
-}
-
 static void
 _format_param_parse(char *item, char **key, char **val)
 {
@@ -1090,7 +1074,7 @@
    k[p - item] = 0;
    *key = k;
    p++;
-   v = _str_deescape(p);
+   v = strdup(p);
    *val = v;
 }
 




-------------------------------------------------------
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

Reply via email to