Enlightenment CVS committal
Author : rbdpngn
Project : e17
Module : libs/estyle
Dir : e17/libs/estyle/src
Modified Files:
estyle.c
Log Message:
Off by one error in testing string length for splitting.
===================================================================
RCS file: /cvsroot/enlightenment/e17/libs/estyle/src/estyle.c,v
retrieving revision 1.23
retrieving revision 1.24
diff -u -3 -r1.23 -r1.24
--- estyle.c 22 Jul 2003 22:04:43 -0000 1.23
+++ estyle.c 23 Jul 2003 21:54:09 -0000 1.24
@@ -568,7 +568,7 @@
* Check if the index is within the bounds of the string, and won't
* result in an empty string.
*/
- if (index >= strlen(content) - 1) {
+ if (index >= strlen(content)) {
FREE(content);
return NULL;
}
@@ -605,6 +605,9 @@
* Put it on the same layer as the old estyle
*/
estyle_set_layer(new_es, estyle_get_layer(es));
+
+ if (evas_object_visible_get(es->bit))
+ estyle_show(new_es);
FREE(content);
-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01
_______________________________________________
enlightenment-cvs mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs