hermet pushed a commit to branch master.

http://git.enlightenment.org/tools/enventor.git/commit/?id=20b99c0d4818cb6386fdfed451715d27a2ba7f7d

commit 20b99c0d4818cb6386fdfed451715d27a2ba7f7d
Author: taehyub <taehyub....@samsung.com>
Date:   Fri Mar 4 23:38:41 2016 +0900

    base_gui: fix the wrong condition
    
    Summary:
    There is a wrong condition in base_gui.c like if ((w>0) && (w>0)).
    The condition compares to same rule.
    
    @fix
    
    Reviewers: Jaehyun_Cho, NikaWhite, Hermet
    
    Reviewed By: Hermet
    
    Differential Revision: https://phab.enlightenment.org/D3767
---
 src/bin/base_gui.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/bin/base_gui.c b/src/bin/base_gui.c
index 776febc..6146d69 100644
--- a/src/bin/base_gui.c
+++ b/src/bin/base_gui.c
@@ -295,7 +295,7 @@ base_gui_init(void)
 
    Evas_Coord w, h;
    config_win_size_get(&w, &h);
-   if ((w > 0) && (w > 0))
+   if ((w > 0) && (h > 0))
      evas_object_resize(win, w, h);
 
    evas_object_event_callback_add(win, EVAS_CALLBACK_RESIZE, win_resize_cb,

-- 


Reply via email to