Enlightenment CVS committal

Author  : mekius
Project : e17
Module  : libs/ewl

Dir     : e17/libs/ewl/src/lib


Modified Files:
        ewl_text.c 


Log Message:
Moved append of empty text to the textblock outside of conditional to fix entry 
sizing bug

===================================================================
RCS file: /cvs/e/e17/libs/ewl/src/lib/ewl_text.c,v
retrieving revision 1.134
retrieving revision 1.135
diff -u -3 -r1.134 -r1.135
--- ewl_text.c  7 Nov 2006 05:40:14 -0000       1.134
+++ ewl_text.c  17 Nov 2006 04:34:33 -0000      1.135
@@ -2838,15 +2838,15 @@
 
        evas_object_textblock_clear(t->textblock);
 
+       cursor = (Evas_Textblock_Cursor *)
+               evas_object_textblock_cursor_get(t->textblock);
+       evas_textblock_cursor_text_append(cursor, "");
+       
        if (t->length.chars > 0)
        {
                Ewl_Text_Context *cur_tx;
                Ewl_Text_Fmt *cur_fmt;
                unsigned int cur_pos;
-
-               cursor = (Evas_Textblock_Cursor *)
-                       evas_object_textblock_cursor_get(t->textblock);
-               evas_textblock_cursor_text_append(cursor, "");
 
                /* save these so we can restore the list state */
                cur_pos = ewl_text_cursor_position_get(t);



-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to