projects
/
platform
/
upstream
/
elementary.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
19ba527
)
tizen_vector: Check NULL pointer before calling strstr().
89/89689/2
accepted/tizen/common/20160927.152723
accepted/tizen/ivi/20160927.231032
accepted/tizen/mobile/20160927.230903
accepted/tizen/tv/20160927.230936
accepted/tizen/wearable/20160927.231004
submit/tizen/20160927.065504
submit/tizen/20160927.065535
author
Jaehyun Cho
<jae_hyun.cho@samsung.com>
Mon, 26 Sep 2016 10:32:29 +0000
(19:32 +0900)
committer
Hermet Park
<chuneon.park@samsung.com>
Mon, 26 Sep 2016 10:38:59 +0000
(
03:38
-0700)
Change-Id: I7d5506804d951d26a401df8de89bc94a00adb6ec
src/lib/tizen_vector.c
patch
|
blob
|
history
diff --git
a/src/lib/tizen_vector.c
b/src/lib/tizen_vector.c
index
829e702
..
a78fbd6
100644
(file)
--- a/
src/lib/tizen_vector.c
+++ b/
src/lib/tizen_vector.c
@@
-1373,7
+1373,7
@@
tizen_vg_button_no_bg_set(Elm_Button *obj)
// When the button has no background and has circle shape,
// the vector_ux will be "no_bg/circle".
const char *str = elm_layout_data_get(obj, "vector_ux");
- if (strstr(str, "circle"))
+ if (str
&& str
str(str, "circle"))
vd->is_circle = EINA_TRUE;
else
{