mirror of
https://github.com/RaySollium99/libpicofe.git
synced 2025-09-04 14:37:46 -04:00
fix hang if seeking for letter in file selector
This commit is contained in:
parent
1889fe241c
commit
2d02d8d6fe
1 changed files with 1 additions and 1 deletions
2
menu.c
2
menu.c
|
@ -983,7 +983,7 @@ static int dirent_seek_char(struct dirent **namelist, int len, int sel, char c)
|
|||
|
||||
for (i = sel + 1; ; i++) {
|
||||
if (i >= len)
|
||||
i = 1;
|
||||
i = 0;
|
||||
if (i == sel)
|
||||
break;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue