diff options
Diffstat (limited to 'uisimulator/win32')
-rw-r--r-- | uisimulator/win32/dir-win32.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/uisimulator/win32/dir-win32.c b/uisimulator/win32/dir-win32.c index 4441003657..d8575213dc 100644 --- a/uisimulator/win32/dir-win32.c +++ b/uisimulator/win32/dir-win32.c | |||
@@ -82,7 +82,7 @@ struct dirent *readdir ( | |||
82 | return 0; | 82 | return 0; |
83 | memcpy (dir->fd.d_name, fd.name, 256); | 83 | memcpy (dir->fd.d_name, fd.name, 256); |
84 | 84 | ||
85 | dir->fd.attribute = fd.attrib ; | 85 | dir->fd.attribute = fd.attrib & 0x3f; |
86 | dir->fd.size = fd.size; | 86 | dir->fd.size = fd.size; |
87 | dir->fd.startcluster = 0 ; | 87 | dir->fd.startcluster = 0 ; |
88 | 88 | ||