summaryrefslogtreecommitdiff
path: root/legacy/emotion/src/lib
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--legacy/emotion/src/lib/emotion_smart.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/legacy/emotion/src/lib/emotion_smart.c b/legacy/emotion/src/lib/emotion_smart.c
index 33dced3421..579b6df3fd 100644
--- a/legacy/emotion/src/lib/emotion_smart.c
+++ b/legacy/emotion/src/lib/emotion_smart.c
@@ -161,7 +161,7 @@ _emotion_module_open(const char *name, Evas_Object *obj, Emotion_Video_Module **
161 161
162 /* FIXME: Always look for a working backend. */ 162 /* FIXME: Always look for a working backend. */
163 retry: 163 retry:
164 if (name == NULL || index > 0) 164 if (!name || index > 0)
165 name = _backend_priority[index++]; 165 name = _backend_priority[index++];
166 166
167 plugin = eina_hash_find(_backends, name); 167 plugin = eina_hash_find(_backends, name);