fix for -O3

This commit is contained in:
Nishi 2026-04-20 15:51:51 +09:00
commit 4423c318e8
6 changed files with 6 additions and 19 deletions

View file

@ -102,7 +102,6 @@ static void draw(MwWidget handle) {
static void click(MwWidget handle) {
MwWidget w = handle;
jmp_buf jmp;
MwMenu menu = handle->internal;
if(arrlen(menu->sub) > 0) {
@ -152,7 +151,6 @@ static void click(MwWidget handle) {
MwForceRender(handle);
} else if(strcmp(menu->sub[i]->name, "----") != 0 && arrlen(menu->sub[i]->sub) == 0) {
while(w->parent->widget_class == MwSubMenuClass) w = w->parent;
MwGetBeforeStep(w, &jmp);
MwDestroyWidget(w);
((MwMenu)w->internal)->wsub = NULL;