Enlightenment CVS committal

Author  : dj2
Project : e17
Module  : libs/ewl

Dir     : e17/libs/ewl/src/lib


Modified Files:
        ewl_text.c 


Log Message:
- cleanup

===================================================================
RCS file: /cvs/e/e17/libs/ewl/src/lib/ewl_text.c,v
retrieving revision 1.101
retrieving revision 1.102
diff -u -3 -r1.101 -r1.102
--- ewl_text.c  24 May 2006 02:55:15 -0000      1.101
+++ ewl_text.c  25 May 2006 05:47:32 -0000      1.102
@@ -655,7 +655,7 @@
        DCHECK_PARAM_PTR_RET("t", t, NULL);
        DCHECK_TYPE_RET("t", t, EWL_TEXT_TYPE, NULL);
 
-       if ((!t->selection) || t->selection->len == 0)
+       if ((!t->selection) || (t->selection->len == 0))
                DRETURN_PTR(NULL, DLEVEL_STABLE);
 
        ret = malloc(sizeof(char) * (t->selection->len + 1));
@@ -2750,8 +2750,10 @@
        if (!t->selection)
        {
                /* create the selection */
-               t->selection = 
EWL_TEXT_TRIGGER(ewl_text_trigger_new(EWL_TEXT_TRIGGER_TYPE_SELECTION));
-               ewl_container_child_append(EWL_CONTAINER(t), 
EWL_WIDGET(t->selection));
+               t->selection = EWL_TEXT_TRIGGER(ewl_text_trigger_new(
+                                       EWL_TEXT_TRIGGER_TYPE_SELECTION));
+               ewl_container_child_append(EWL_CONTAINER(t), 
+                                       EWL_WIDGET(t->selection));
                ewl_widget_internal_set(EWL_WIDGET(t->selection), TRUE);
 
                ewl_text_trigger_start_pos_set(t->selection, 0);




-------------------------------------------------------
All the advantages of Linux Managed Hosting--Without the Cost and Risk!
Fully trained technicians. The highest number of Red Hat certifications in
the hosting industry. Fanatical Support. Click to learn more
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&dat=121642
_______________________________________________
enlightenment-cvs mailing list
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to