forked from enlightenment/enventor
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
This commit is contained in:
parent
04415c8d70
commit
20b99c0d48
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue