correct backspace behaviour in wmiimenu (never backspace more than one char when nitem == 0)

This commit is contained in:
Sander van Dijk 2006-07-04 22:40:04 +00:00
parent 1dc92abfa8
commit 6ad1e76b3e
1 changed files with 1 additions and 1 deletions

View File

@ -298,7 +298,7 @@ handle_kpress(XKeyEvent * e)
do {
text[--i] = 0;
update_items(text);
} while(i && prev_nitem == nitem);
} while(i && nitem && prev_nitem == nitem);
update_items(text);
}
break;