Menu.submenu: fix segfault bug (thanks Martin for debug).
This commit is contained in:
parent
4138894db1
commit
8b16176edc
@ -207,7 +207,7 @@ menu_activate_item(Menu *menu, int i)
|
||||
x = menu->x;
|
||||
x += menu_get_longer_string(menu->item, menu->nitem) + PAD * 3;
|
||||
|
||||
menu_draw(conf.menu[i], x, y);
|
||||
menu_draw(conf.menu[j], x, y);
|
||||
return True;
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user