summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoro.shcherbina <artem.popov@samsung.com>2014-10-14 01:07:36 +0900
committerDaniel Juyung Seo <seojuyung2@gmail.com>2014-10-14 01:07:36 +0900
commit5c7494861802cb15799c65241614ce900698d35f (patch)
tree8f4d171362c79f0c979042be9a3817200c0416cb
parent966fffe0c6e3af0b7e65c3e3d145940f96b1f03a (diff)
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
-rw-r--r--src/lib/elm_win.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/elm_win.c b/src/lib/elm_win.c
index 9d469f67c..c7e346697 100644
--- a/src/lib/elm_win.c
+++ b/src/lib/elm_win.c
@@ -4192,7 +4192,7 @@ EOLIAN static void
4192_elm_win_size_base_get(Eo *obj EINA_UNUSED, Elm_Win_Data *sd, int *w, int *h) 4192_elm_win_size_base_get(Eo *obj EINA_UNUSED, Elm_Win_Data *sd, int *w, int *h)
4193{ 4193{
4194 if (w) *w = sd->size_base_w; 4194 if (w) *w = sd->size_base_w;
4195 if (w) *h = sd->size_base_h; 4195 if (h) *h = sd->size_base_h;
4196} 4196}
4197 4197
4198EOLIAN static void 4198EOLIAN static void
@@ -4210,7 +4210,7 @@ EOLIAN static void
4210_elm_win_size_step_get(Eo *obj EINA_UNUSED, Elm_Win_Data *sd, int *w, int *h) 4210_elm_win_size_step_get(Eo *obj EINA_UNUSED, Elm_Win_Data *sd, int *w, int *h)
4211{ 4211{
4212 if (w) *w = sd->size_step_w; 4212 if (w) *w = sd->size_step_w;
4213 if (w) *h = sd->size_step_h; 4213 if (h) *h = sd->size_step_h;
4214} 4214}
4215 4215
4216EOLIAN static void 4216EOLIAN static void