notaz.gp2x.de
/
libpicofe.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1889fe2
)
fix hang if seeking for letter in file selector
author
kub
<derkub@gmail.com>
Wed, 25 Jan 2023 22:09:22 +0000
(22:09 +0000)
committer
kub
<derkub@gmail.com>
Wed, 25 Jan 2023 22:09:22 +0000
(22:09 +0000)
menu.c
patch
|
blob
|
blame
|
history
diff --git
a/menu.c
b/menu.c
index
da9ddf2
..
fd7fe5a
100644
(file)
--- a/
menu.c
+++ b/
menu.c
@@
-983,7
+983,7
@@
static int dirent_seek_char(struct dirent **namelist, int len, int sel, char c)
\r
for (i = sel + 1; ; i++) {
\r
if (i >= len)
\r
- i =
1
;
\r
+ i =
0
;
\r
if (i == sel)
\r
break;
\r
\r