forked from enlightenment/efl
edje_cc: create data hash if it doesn't exist
The check was being done only in 'data.item' handler Signed-off-by: Eduardo Lima (Etrunko) <eduardo.lima@intel.com>
This commit is contained in:
parent
b7ff5a737f
commit
c03c6bd12c
|
@ -1852,6 +1852,9 @@ st_data_file(void)
|
||||||
|
|
||||||
es->str = value;
|
es->str = value;
|
||||||
|
|
||||||
|
if (!edje_file->data)
|
||||||
|
edje_file->data = eina_hash_string_small_new(free);
|
||||||
|
|
||||||
eina_hash_direct_add(edje_file->data, key, es);
|
eina_hash_direct_add(edje_file->data, key, es);
|
||||||
|
|
||||||
free(filename);
|
free(filename);
|
||||||
|
|
Loading…
Reference in New Issue