[Pkg-e-commits] [SCM] Enlightenment DR17 toolkit based (based on the EFL) branch, upstream-vcs, updated. 447de88121d145a078f1754a0cfebb704d363821
pfritz
pfritz at alioth.debian.org
Sat Jun 7 18:33:58 UTC 2008
The following commit has been merged in the upstream-vcs branch:
commit b22935d4f8409362dc080a387319a36b7b230843
Author: pfritz <pfritz>
Date: Wed Apr 16 15:03:40 2008 +0000
simplify
diff --git a/src/lib/ewl_text.c b/src/lib/ewl_text.c
index 15c6542..7ea779a 100644
--- a/src/lib/ewl_text.c
+++ b/src/lib/ewl_text.c
@@ -3467,12 +3467,9 @@ ewl_text_cb_mouse_down(Ewl_Widget *w, void *ev, void *data __UNUSED__)
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();
--
Enlightenment DR17 toolkit based (based on the EFL)
More information about the Pkg-e-commits
mailing list