seoz pushed a commit to branch master. http://git.enlightenment.org/core/elementary.git/commit/?id=5c7494861802cb15799c65241614ce900698d35f
commit 5c7494861802cb15799c65241614ce900698d35f Author: o.shcherbina <[email protected]> Date: Tue Oct 14 01:07:36 2014 +0900 win: fix segfaults (wrong checking) Summary: There were wrong checkings in elm_win_size_base_get and elm_win_size_step_get @fix Reviewers: seoz, Hermet Differential Revision: https://phab.enlightenment.org/D1533 --- src/lib/elm_win.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/lib/elm_win.c b/src/lib/elm_win.c index 9d469f6..c7e3466 100644 --- a/src/lib/elm_win.c +++ b/src/lib/elm_win.c @@ -4192,7 +4192,7 @@ EOLIAN static void _elm_win_size_base_get(Eo *obj EINA_UNUSED, Elm_Win_Data *sd, int *w, int *h) { if (w) *w = sd->size_base_w; - if (w) *h = sd->size_base_h; + if (h) *h = sd->size_base_h; } EOLIAN static void @@ -4210,7 +4210,7 @@ EOLIAN static void _elm_win_size_step_get(Eo *obj EINA_UNUSED, Elm_Win_Data *sd, int *w, int *h) { if (w) *w = sd->size_step_w; - if (w) *h = sd->size_step_h; + if (h) *h = sd->size_step_h; } EOLIAN static void --
