diff options
author | Prince Kumar Dubey <prince.dubey@samsung.com> | 2017-10-13 12:07:25 -0700 |
---|---|---|
committer | Cedric Bail <cedric@osg.samsung.com> | 2017-10-13 12:07:28 -0700 |
commit | 41197981abcfe6a01b4208e30f700c714dc1d648 (patch) | |
tree | 1d5e0237a59d8d4038cc29eb28ce9fbf03b6407e /src/lib/ecore_win32/ecore_win32_window.c | |
parent | cb4a17ab22885c81dfaa20c7eed73659a7037641 (diff) |
efl: unsigned int/long never be less than zero. Fixed.
Reviewers: raster, cedric
Subscribers: rajeshps, jpeg
Differential Revision: https://phab.enlightenment.org/D5300
Signed-off-by: Cedric Bail <cedric@osg.samsung.com>
Diffstat (limited to 'src/lib/ecore_win32/ecore_win32_window.c')
-rw-r--r-- | src/lib/ecore_win32/ecore_win32_window.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/ecore_win32/ecore_win32_window.c b/src/lib/ecore_win32/ecore_win32_window.c index f9629f735c..628264d7b3 100644 --- a/src/lib/ecore_win32/ecore_win32_window.c +++ b/src/lib/ecore_win32/ecore_win32_window.c | |||
@@ -1477,7 +1477,7 @@ ecore_win32_window_state_set(Ecore_Win32_Window *window, | |||
1477 | { | 1477 | { |
1478 | unsigned int i; | 1478 | unsigned int i; |
1479 | 1479 | ||
1480 | if (!window || !state || (num <= 0)) | 1480 | if (!window || !state || (num == 0)) |
1481 | return; | 1481 | return; |
1482 | 1482 | ||
1483 | INF("setting window state"); | 1483 | INF("setting window state"); |