fix list seeking, add autoload option

This commit is contained in:
notaz 2013-08-31 00:49:52 +03:00
parent 7ceadd9993
commit 9089665ca1
3 changed files with 31 additions and 9 deletions

View file

@ -428,6 +428,7 @@ finish:
int in_menu_wait_any(char *charcode, int timeout_ms)
{
int keys_old = menu_key_state;
int ret;
while (1)
{
@ -443,7 +444,9 @@ int in_menu_wait_any(char *charcode, int timeout_ms)
}
}
return menu_key_state;
ret = menu_key_state;
menu_key_state &= ~PBTN_CHAR;
return ret;
}
/* wait for menu input, do autorepeat */