menu works on windows

git-svn-id: http://svn2.nishi.boats/svn/milsko/trunk@139 b9cfdab3-6d41-4d17-bbe4-086880011989
This commit is contained in:
NishiOwO
2025-10-03 16:13:11 +00:00
parent 6db4808815
commit 06b2178ecc
5 changed files with 63 additions and 26 deletions

View File

@@ -109,7 +109,7 @@ static void draw(MwWidget handle) {
m->sub[i]->wsub = NULL;
m->sub[i]->keep = 0;
m->wait = 1;
}else if(arrlen(m->sub[i]->sub) == 0){
} else if(arrlen(m->sub[i]->sub) == 0) {
MwDispatchUserHandler(handle, MwNmenuHandler, m->sub[i]);
}
} else if(!handle->pressed && m->sub[i]->wsub != NULL) {