diff options
Diffstat (limited to 'win32/win32.c')
-rw-r--r-- | win32/win32.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/win32/win32.c b/win32/win32.c index b88c136467..e10ece507a 100644 --- a/win32/win32.c +++ b/win32/win32.c @@ -1533,6 +1533,7 @@ static void move_to_next_entry(DIR *dirp) { if (dirp->curr) { + dirp->loc++; dirp->curr += strlen(dirp->curr) + 1; if (dirp->curr >= (dirp->start + dirp->size)) { dirp->curr = NULL; |