projects
/
platform
/
upstream
/
efl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cbd0289
)
Edje load: add safecheck for TEXTBLOCK-specific code path
author
Daniel Hirt
<hirt.danny@gmail.com>
Wed, 20 Jun 2018 16:24:05 +0000
(19:24 +0300)
committer
Jongmin Lee
<jm105.lee@samsung.com>
Wed, 20 Jun 2018 21:34:24 +0000
(06:34 +0900)
There is a specific TEXTBLOCK part code path that shouldn't be taken
for other parts.
@fixes T6279
src/lib/edje/edje_load.c
patch
|
blob
|
history
diff --git
a/src/lib/edje/edje_load.c
b/src/lib/edje/edje_load.c
index
1ebbcbe
..
32660f4
100644
(file)
--- a/
src/lib/edje/edje_load.c
+++ b/
src/lib/edje/edje_load.c
@@
-1362,7
+1362,8
@@
_edje_object_file_set_internal(Evas_Object *obj, const Eina_File *file, const ch
}
}
- if (rp->part->entry_mode > EDJE_ENTRY_EDIT_MODE_NONE)
+ if ((rp->part->type == EDJE_PART_TYPE_TEXTBLOCK) &&
+ rp->part->entry_mode > EDJE_ENTRY_EDIT_MODE_NONE)
{
// TIZEN_ONLY(20131129): Reuse ecore_imf_context when theme is changed
Ecore_IMF_Context *ic = NULL;