From 1aad87acc5c9383217503f44d76cd290b30dacaa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gy=C3=B6rgy=20=27Nog=27=20Jeney?= Date: Mon, 28 Oct 2002 18:49:52 +0000 Subject: [PATCH] Copy the necessary data from the unicode struct to the ascii one in DOSFS_FindNext. --- files/dos_fs.c | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/files/dos_fs.c b/files/dos_fs.c index 3ec28bdc3a6..be1aefbc5f4 100644 --- a/files/dos_fs.c +++ b/files/dos_fs.c @@ -1878,6 +1878,14 @@ int DOSFS_FindNext( const char *path, const char *short_mask, WideCharToMultiByte(CP_ACP, 0, entryW.cAlternateFileName, -1, entry->cAlternateFileName, sizeof(entry->cAlternateFileName), NULL, NULL); count = info.cur_pos - skip; + + entry->dwFileAttributes = entryW.dwFileAttributes; + entry->nFileSizeHigh = entryW.nFileSizeHigh; + entry->nFileSizeLow = entryW.nFileSizeLow; + entry->ftCreationTime = entryW.ftCreationTime; + entry->ftLastAccessTime = entryW.ftLastAccessTime; + entry->ftLastWriteTime = entryW.ftLastWriteTime; + } else count = 0;