summaryrefslogtreecommitdiff
path: root/src/tests/emotion/emotion_test_main.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/tests/emotion/emotion_test_main.c')
-rw-r--r--src/tests/emotion/emotion_test_main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tests/emotion/emotion_test_main.c b/src/tests/emotion/emotion_test_main.c
index e435935332..67906840c1 100644
--- a/src/tests/emotion/emotion_test_main.c
+++ b/src/tests/emotion/emotion_test_main.c
@@ -579,7 +579,7 @@ init_video_object(const char *module_filename, const char *filename)
579 579
580 /* basic video object setup */ 580 /* basic video object setup */
581 o = emotion_object_add(evas); 581 o = emotion_object_add(evas);
582 if (!emotion_object_init(o, module_filename)) 582 if ((module_filename) && (!emotion_object_init(o, module_filename)))
583 return; 583 return;
584 emotion_object_vis_set(o, vis); 584 emotion_object_vis_set(o, vis);
585 if (!emotion_object_file_set(o, filename)) 585 if (!emotion_object_file_set(o, filename))