From: o.shcherbina Date: Mon, 13 Oct 2014 16:07:36 +0000 (+0900) Subject: win: fix segfaults (wrong checking) X-Git-Tag: v1.12.0-alpha1~9 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=5c7494861802cb15799c65241614ce900698d35f;p=platform%2Fupstream%2Felementary.git 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 --- 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