Enlightenment CVS committal

Author  : rbdpngn
Project : e17
Module  : libs/ewl

Dir     : e17/libs/ewl/src


Modified Files:
        ewl_textarea.c 


Log Message:
Adjust some geometry info from the etox.

===================================================================
RCS file: /cvsroot/enlightenment/e17/libs/ewl/src/ewl_textarea.c,v
retrieving revision 1.31
retrieving revision 1.32
diff -u -3 -r1.31 -r1.32
--- ewl_textarea.c      22 May 2004 19:59:06 -0000      1.31
+++ ewl_textarea.c      22 May 2004 23:46:46 -0000      1.32
@@ -555,6 +555,10 @@
         * Adjust the properties of the widget to indicate the size of the text.
         */
        evas_object_geometry_get(ta->etox, &x, &y, &width, &height);
+       if (!width)
+               width = 1;
+       if (!height)
+               height = 1;
 
        /*
         * Set the preferred size to the size of the etox and request that




-------------------------------------------------------
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. 
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click
_______________________________________________
enlightenment-cvs mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to