Evas textblock: Fixed bug in style tags parsing.
authortasn <tasn@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Tue, 6 Mar 2012 13:54:37 +0000 (13:54 +0000)
committertasn <tasn@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Tue, 6 Mar 2012 13:54:37 +0000 (13:54 +0000)
Thanks a lot to cedric for letting me know about it.

git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@68831 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

src/lib/canvas/evas_object_textblock.c

index 0165fdf..892804b 100644 (file)
@@ -4607,7 +4607,7 @@ evas_textblock_style_set(Evas_Textblock_Style *ts, const char *text)
                        if (tags) free(tags);
                        if (replaces) free(replaces);
                     }
-                  key_start = key_stop = val_start;
+                  key_start = key_stop = val_start = NULL;
                }
              p++;
           }