Enlightenment CVS committal

Author  : rbdpngn
Project : e17
Module  : libs/ewl

Dir     : e17/libs/ewl/src


Modified Files:
        ewl_entry.c 


Log Message:
Fix for off-by-one bug in entry widget from Stafford Horne. Added a check
button bit.

===================================================================
RCS file: /cvsroot/enlightenment/e17/libs/ewl/src/ewl_entry.c,v
retrieving revision 1.62
retrieving revision 1.63
diff -u -3 -r1.62 -r1.63
--- ewl_entry.c 28 Jun 2003 06:50:32 -0000      1.62
+++ ewl_entry.c 12 Aug 2003 17:16:15 -0000      1.63
@@ -322,8 +322,8 @@
 
        index++;
 
-       if (index > len)
-               index = len;
+       if (index > len + 1)
+               index = len + 1;
        ewl_cursor_set_base(EWL_CURSOR(e->cursor), index);
 
        ewl_widget_configure(w);




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

Reply via email to