projects
/
platform
/
upstream
/
enlightenment.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
400c1f5
)
fix probably-impossible divide-by-zero in menu item layout
author
Mike Blumenkrantz
<zmike@samsung.com>
Thu, 13 Mar 2014 15:41:17 +0000
(11:41 -0400)
committer
Mike Blumenkrantz
<zmike@samsung.com>
Thu, 13 Mar 2014 15:41:17 +0000
(11:41 -0400)
CID 1187924
src/bin/e_menu.c
patch
|
blob
|
history
diff --git
a/src/bin/e_menu.c
b/src/bin/e_menu.c
index
4eed69b
..
99a3a6e
100644
(file)
--- a/
src/bin/e_menu.c
+++ b/
src/bin/e_menu.c
@@
-1718,7
+1718,7
@@
_e_menu_items_layout_update(E_Menu *m)
int min_label_w = 0, min_label_h = 0;
int min_submenu_w = 0, min_submenu_h = 0;
int min_toggle_w = 0, min_toggle_h = 0;
- int min_w = 0, min_h =
0
;
+ int min_w = 0, min_h =
1
;
int zh = 0, ms = 0, maxh = 0;
unsigned int cur_items = 0, max_items = -1;