From ff992cfb5075540ff98788299143d443caea7f67 Mon Sep 17 00:00:00 2001 From: Sebastian Dransfeld Date: Fri, 13 Jun 2008 10:57:06 +0000 Subject: [PATCH] No need to continue looping after finding active. SVN revision: 34814 --- src/bin/e_dnd.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/bin/e_dnd.c b/src/bin/e_dnd.c index f2524bfb0..f486cabb0 100644 --- a/src/bin/e_dnd.c +++ b/src/bin/e_dnd.c @@ -1173,7 +1173,10 @@ _e_dnd_cb_event_dnd_position(void *data, int type, void *event) h = l->data; if (h->active) - active = 1; + { + active = 1; + break; + } } if (!active) {