summaryrefslogtreecommitdiff
path: root/legacy/emotion/src/lib/emotion_smart.c
diff options
context:
space:
mode:
authorCedric BAIL <cedric.bail@free.fr>2011-02-25 11:33:19 +0000
committerCedric BAIL <cedric.bail@free.fr>2011-02-25 11:33:19 +0000
commit5ddad9ec966af02b8451de4aaa4096b8992040cb (patch)
tree0bb1056ef3ae06d6f1ffce995e43d1264d19250e /legacy/emotion/src/lib/emotion_smart.c
parent1382cfb6b3dd84dc13c515e99334136f44e9913d (diff)
emotion: override engine by setting EMOTION_ENGINE environ.
SVN revision: 57320
Diffstat (limited to '')
-rw-r--r--legacy/emotion/src/lib/emotion_smart.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/legacy/emotion/src/lib/emotion_smart.c b/legacy/emotion/src/lib/emotion_smart.c
index 87f8929ee6..ad141db933 100644
--- a/legacy/emotion/src/lib/emotion_smart.c
+++ b/legacy/emotion/src/lib/emotion_smart.c
@@ -187,6 +187,9 @@ _emotion_module_open(const char *name, Evas_Object *obj, Emotion_Video_Module **
187 return NULL; 187 return NULL;
188 } 188 }
189 189
190 if (!name && getenv("EMOTION_ENGINE"))
191 name = getenv("EMOTION_ENGINE");
192
190 /* FIXME: Always look for a working backend. */ 193 /* FIXME: Always look for a working backend. */
191 retry: 194 retry:
192 if (!name || index > 0) 195 if (!name || index > 0)