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:
87aa8cd
)
elm_image: Fix to initialize variable.
author
Hosang Kim
<hosang12.kim@samsung.com>
Mon, 16 Mar 2015 12:09:35 +0000
(21:09 +0900)
committer
Daniel Juyung Seo
<seojuyung2@gmail.com>
Mon, 16 Mar 2015 12:18:28 +0000
(21:18 +0900)
Summary: If _elm_image_object_size_get fails, w and h have garbage value.
Test Plan: no
Reviewers: seoz, Hermet, cedric, raster
Differential Revision: https://phab.enlightenment.org/D2163
legacy/elementary/src/lib/elm_image.c
patch
|
blob
|
history
diff --git
a/legacy/elementary/src/lib/elm_image.c
b/legacy/elementary/src/lib/elm_image.c
index
503bc56
..
7a852b8
100644
(file)
--- a/
legacy/elementary/src/lib/elm_image.c
+++ b/
legacy/elementary/src/lib/elm_image.c
@@
-517,7
+517,7
@@
EOLIAN static void
_elm_image_sizing_eval(Eo *obj, Elm_Image_Data *sd)
{
Evas_Coord minw = -1, minh = -1, maxw = -1, maxh = -1;
- int w
, h
;
+ int w
= 0, h = 0
;
double ts;
_elm_image_internal_sizing_eval(obj, sd);