diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/lib/edje/edje_edit.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/lib/edje/edje_edit.c b/src/lib/edje/edje_edit.c index edbe5cd37c..f3381fa76c 100644 --- a/src/lib/edje/edje_edit.c +++ b/src/lib/edje/edje_edit.c | |||
@@ -2905,6 +2905,7 @@ edje_edit_external_add(Evas_Object *obj, const char *external) | |||
2905 | 2905 | ||
2906 | if (!ed->file->external_dir) | 2906 | if (!ed->file->external_dir) |
2907 | ed->file->external_dir = _alloc(sizeof(Edje_External_Directory)); | 2907 | ed->file->external_dir = _alloc(sizeof(Edje_External_Directory)); |
2908 | if (!ed->file->external_dir) return EINA_FALSE; | ||
2908 | 2909 | ||
2909 | for (i = 0; i < ed->file->external_dir->entries_count; ++i) | 2910 | for (i = 0; i < ed->file->external_dir->entries_count; ++i) |
2910 | if (!ed->file->external_dir->entries[i].entry) | 2911 | if (!ed->file->external_dir->entries[i].entry) |
@@ -12555,6 +12556,7 @@ edje_edit_source_generate(Evas_Object *obj) | |||
12555 | { | 12556 | { |
12556 | es = eina_hash_find(ed->file->data, entry); | 12557 | es = eina_hash_find(ed->file->data, entry); |
12557 | str = edje_string_get(es); | 12558 | str = edje_string_get(es); |
12559 | if (!str) break; | ||
12558 | data_len = strlen(str); | 12560 | data_len = strlen(str); |
12559 | /* In case when data ends with '\n' character, this item recognize | 12561 | /* In case when data ends with '\n' character, this item recognize |
12560 | * as data.file. This data will not generated into the source code | 12562 | * as data.file. This data will not generated into the source code |