From: caro Date: Wed, 7 Mar 2012 10:28:48 +0000 (+0000) Subject: Ecore_Win32: fix initialization of base_width/height values X-Git-Tag: 2.0_alpha~60^2~26 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=b2a4ee81d1b42fec1e98014d0a0de81e98c27778;p=framework%2Fuifw%2Fecore.git Ecore_Win32: fix initialization of base_width/height values git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@68922 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33 --- diff --git a/src/lib/ecore_win32/ecore_win32_private.h b/src/lib/ecore_win32/ecore_win32_private.h index ab54763..e3e4426 100644 --- a/src/lib/ecore_win32/ecore_win32_private.h +++ b/src/lib/ecore_win32/ecore_win32_private.h @@ -71,8 +71,8 @@ struct _Ecore_Win32_Window unsigned int min_height; unsigned int max_width; unsigned int max_height; - unsigned int base_width; - unsigned int base_height; + int base_width; + int base_height; unsigned int step_width; unsigned int step_height; diff --git a/src/lib/ecore_win32/ecore_win32_window.c b/src/lib/ecore_win32/ecore_win32_window.c index 910c46f..576e5dc 100644 --- a/src/lib/ecore_win32/ecore_win32_window.c +++ b/src/lib/ecore_win32/ecore_win32_window.c @@ -107,8 +107,8 @@ ecore_win32_window_internal_new(Ecore_Win32_Window *parent, w->min_height = 0; w->max_width = 32767; w->max_height = 32767; - w->base_width = 0; - w->base_height = 0; + w->base_width = -1; + w->base_height = -1; w->step_width = 1; w->step_height = 1;