summaryrefslogtreecommitdiff
path: root/src/bin/edje/edje_cc_out.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/bin/edje/edje_cc_out.c')
-rw-r--r--src/bin/edje/edje_cc_out.c8
1 files changed, 3 insertions, 5 deletions
diff --git a/src/bin/edje/edje_cc_out.c b/src/bin/edje/edje_cc_out.c
index fbcfd01..9575f4a 100644
--- a/src/bin/edje/edje_cc_out.c
+++ b/src/bin/edje/edje_cc_out.c
@@ -1456,11 +1456,9 @@ data_write_vectors(Eet_File *ef, int *vector_num)
1456 } 1456 }
1457 else 1457 else
1458 { 1458 {
1459 f = eina_file_open(eina_strbuf_string_get(buf), EINA_FALSE); 1459 if (efl_file_set(vg, eina_strbuf_string_get(buf)))
1460 if (!f) continue; 1460 error_and_abort(ef, "Failed to parse svg : %s", vector->entry);
1461 eina_file_close(f); 1461 if (efl_file_load(vg))
1462
1463 if (!efl_file_set(vg, eina_strbuf_string_get(buf), NULL))
1464 error_and_abort(ef, "Failed to parse svg : %s", vector->entry); 1462 error_and_abort(ef, "Failed to parse svg : %s", vector->entry);
1465 1463
1466 eina_strbuf_reset(buf); 1464 eina_strbuf_reset(buf);