mirror of
https://github.com/0intro/wmii
synced 2025-02-19 15:54:24 +03:00
Don't die when no menu choices are provided.
This commit is contained in:
parent
2c0705d1ae
commit
54e546e599
@ -157,6 +157,8 @@ _menu_draw(bool draw) {
|
||||
matchstart = matchidx;
|
||||
else if(matchidx == matchstart->prev)
|
||||
matchend = matchidx;
|
||||
if (matchend == nil)
|
||||
matchend = matchstart;
|
||||
|
||||
if(matchend == matchstart->prev && matchstart != matchidx) {
|
||||
n = itemoff;
|
||||
|
Loading…
x
Reference in New Issue
Block a user