forked from pyrite-dev/milsko
fix menu
This commit is contained in:
parent
76f03c2019
commit
38321022b9
1 changed files with 1 additions and 1 deletions
|
|
@ -94,7 +94,7 @@ static void destroy(MwWidget handle) {
|
||||||
#define NEW_SUBMENU \
|
#define NEW_SUBMENU \
|
||||||
MwPoint p2; \
|
MwPoint p2; \
|
||||||
\
|
\
|
||||||
p2.x = p.x - 5; \
|
p2.x = p.x - 5 - tw / 2; \
|
||||||
p2.y = p.y + th / 2 + 5; \
|
p2.y = p.y + th / 2 + 5; \
|
||||||
\
|
\
|
||||||
m->sub[i]->wsub = MwCreateWidget(MwSubMenuClass, "submenu", handle, 0, MwGetInteger(handle, MwNheight), 0, 0); \
|
m->sub[i]->wsub = MwCreateWidget(MwSubMenuClass, "submenu", handle, 0, MwGetInteger(handle, MwNheight), 0, 0); \
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue