summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHermet Park <hermetpark@gmail.com>2020-02-20 20:22:27 +0900
committerHermet Park <hermetpark@gmail.com>2020-02-20 20:34:57 +0900
commit0416e5757ffeef6af2bb628ddf6d63887e585303 (patch)
tree81b720cd9de0791883aae74fe2cdd657ba81f46c
parentc5dc774fc564539f0d8b5791b2ed4925162706cf (diff)
edje: guarantee the theme abi compatility.
if old edj doesn't include "zoom_center" properly, the initial value will be set with zero, We can overwrite it in that case since zoom_center initial value is -1.
-rw-r--r--src/lib/edje/edje_data.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lib/edje/edje_data.c b/src/lib/edje/edje_data.c
index dfb84e5811..b0b7962a8a 100644
--- a/src/lib/edje/edje_data.c
+++ b/src/lib/edje/edje_data.c
@@ -106,6 +106,7 @@ Eet_Data_Descriptor *_edje_edd_edje_part_description_vector_pointer = NULL;
106 memset(data, 0, size); \ 106 memset(data, 0, size); \
107 data->clip_to_id = -1; \ 107 data->clip_to_id = -1; \
108 data->map.zoom.x = data->map.zoom.y = 1.0; \ 108 data->map.zoom.x = data->map.zoom.y = 1.0; \
109 data->map.zoom.id_center = -1; \
109 return data; \ 110 return data; \
110 } \ 111 } \
111 \ 112 \