copy data from unicode struct to ascii struct in DOSFS_FindNext

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



ChangeLog:
 * files/dos_fs.c
   Copy the nessecary data from the unicode struct to the ascii one in
   DOSFS_FindNext.

nog.

Index: files/dos_fs.c
===================================================================
RCS file: /home/wine/wine/files/dos_fs.c,v
retrieving revision 1.122
diff -u -r1.122 dos_fs.c
--- files/dos_fs.c	25 Oct 2002 03:32:11 -0000	1.122
+++ files/dos_fs.c	27 Oct 2002 09:48:01 -0000
@@ -1878,6 +1878,10 @@
         WideCharToMultiByte(CP_ACP, 0, entryW.cAlternateFileName, -1,
                             entry->cAlternateFileName, sizeof(entry->cAlternateFileName), NULL, NULL);
         count = info.cur_pos - skip;
+
+        entry->dwFileAttributes = entryW.dwFileAttributes;
+        entry->nFileSizeLow = entryW.nFileSizeLow;
+        entry->ftLastWriteTime = entryW.ftLastWriteTime;
     }
     else
         count = 0;


[Index of Archives]     [Gimp for Windows]     [Red Hat]     [Samba]     [Yosemite Camping]     [Graphics Cards]     [Wine Home]

  Powered by Linux