diff options
author | Max Horn | 2006-05-03 10:14:05 +0000 |
---|---|---|
committer | Max Horn | 2006-05-03 10:14:05 +0000 |
commit | d404b6150af5d7cf716b52dfe274acca81f6ffad (patch) | |
tree | cfb577ff33226feeae4cd43e9556d49c229080af /backends/fs/windows | |
parent | 58c723d9f01c16fa212946cc26993ed776056da5 (diff) | |
download | scummvm-rg350-d404b6150af5d7cf716b52dfe274acca81f6ffad.tar.gz scummvm-rg350-d404b6150af5d7cf716b52dfe274acca81f6ffad.tar.bz2 scummvm-rg350-d404b6150af5d7cf716b52dfe274acca81f6ffad.zip |
Started to separate AbstractFilesystemNode from FilesystemNode
svn-id: r22297
Diffstat (limited to 'backends/fs/windows')
-rw-r--r-- | backends/fs/windows/windows-fs.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/backends/fs/windows/windows-fs.cpp b/backends/fs/windows/windows-fs.cpp index aeeecd5d43..fb23c8e1f5 100644 --- a/backends/fs/windows/windows-fs.cpp +++ b/backends/fs/windows/windows-fs.cpp @@ -22,6 +22,7 @@ #ifdef WIN32 #include "common/stdafx.h" +#include "backends/fs/abstract-fs.h" #include "backends/fs/fs.h" #include <stdio.h> #include <stdlib.h> @@ -103,8 +104,8 @@ void WindowsFilesystemNode::addFile(FSList &list, ListMode mode, const char *bas isDirectory = (find_data->dwFileAttributes & FILE_ATTRIBUTE_DIRECTORY ? true : false); - if ((!isDirectory && mode == kListDirectoriesOnly) || - (isDirectory && mode == kListFilesOnly)) + if ((!isDirectory && mode == FilesystemNode::kListDirectoriesOnly) || + (isDirectory && mode == FilesystemNode::kListFilesOnly)) return; entry._isDirectory = isDirectory; |