Enlightenment CVS committal Author : pfritz Project : e17 Module : libs/ewl
Dir : e17/libs/ewl/src/lib Modified Files: ewl_text.c Log Message: simplify =================================================================== RCS file: /cvs/e/e17/libs/ewl/src/lib/ewl_text.c,v retrieving revision 1.198 retrieving revision 1.199 diff -u -3 -r1.198 -r1.199 --- ewl_text.c 15 Apr 2008 19:30:09 -0000 1.198 +++ ewl_text.c 16 Apr 2008 15:03:40 -0000 1.199 @@ -3467,12 +3467,9 @@ ewl_text_cb_mouse_move, NULL); if (!t->selection) - { t->selection = ewl_text_selection_new(t); - sel = EWL_TEXT_TRIGGER(t->selection); - } - else - sel = EWL_TEXT_TRIGGER(t->selection); + + sel = EWL_TEXT_TRIGGER(t->selection); char_idx = ewl_text_coord_index_map(EWL_TEXT(w), event->x, event->y); modifiers = ewl_ev_modifiers_get(); ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ enlightenment-cvs mailing list enlightenment-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs