summaryrefslogtreecommitdiff
path: root/src/bin/edje/edje_cc_handlers.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/bin/edje/edje_cc_handlers.c')
-rw-r--r--src/bin/edje/edje_cc_handlers.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/bin/edje/edje_cc_handlers.c b/src/bin/edje/edje_cc_handlers.c
index 6f91af6133..2f6481c656 100644
--- a/src/bin/edje/edje_cc_handlers.c
+++ b/src/bin/edje/edje_cc_handlers.c
@@ -2330,7 +2330,7 @@ _handle_vector_image(void)
2330 2330
2331 name = parse_str(0); 2331 name = parse_str(0);
2332 2332
2333 ed->vg.id = -1; 2333 ed->vg.id = 0;
2334 2334
2335 for (i = 0; i < edje_file->image_dir->vectors_count; ++i) 2335 for (i = 0; i < edje_file->image_dir->vectors_count; ++i)
2336 { 2336 {
@@ -2342,6 +2342,9 @@ _handle_vector_image(void)
2342 } 2342 }
2343 } 2343 }
2344 2344
2345 if (!ed->vg.id)
2346 error_and_abort(NULL, "Failed to find the vector resource :%s", name);
2347
2345 free(name); 2348 free(name);
2346} 2349}
2347 2350