aboutsummaryrefslogtreecommitdiff
path: root/backends/fs/windows/windows-fs.cpp
diff options
context:
space:
mode:
authorTravis Howell2006-04-27 23:14:54 +0000
committerTravis Howell2006-04-27 23:14:54 +0000
commite163be131c191f3e04ae120690b0d0926deeb25f (patch)
treef573e9d2d06a12088d3b40b93155ca1f20356038 /backends/fs/windows/windows-fs.cpp
parent6330e6585225c40b63818eb3ee608b144704493f (diff)
downloadscummvm-rg350-e163be131c191f3e04ae120690b0d0926deeb25f.tar.gz
scummvm-rg350-e163be131c191f3e04ae120690b0d0926deeb25f.tar.bz2
scummvm-rg350-e163be131c191f3e04ae120690b0d0926deeb25f.zip
Revert kListAllNoRoot addition to listdir(), the uninitialized _isPseudoRoot in windows filesys backend was real cause of problem.
svn-id: r22194
Diffstat (limited to 'backends/fs/windows/windows-fs.cpp')
-rw-r--r--backends/fs/windows/windows-fs.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/backends/fs/windows/windows-fs.cpp b/backends/fs/windows/windows-fs.cpp
index 837fed1e72..f776ffc8fe 100644
--- a/backends/fs/windows/windows-fs.cpp
+++ b/backends/fs/windows/windows-fs.cpp
@@ -169,7 +169,7 @@ FSList WindowsFilesystemNode::listDir(ListMode mode) const {
FSList myList;
- if (_isPseudoRoot && mode != kListAllNoRoot) {
+ if (_isPseudoRoot) {
#ifndef _WIN32_WCE
// Drives enumeration
TCHAR drive_buffer[100];