diff options
| author | Travis Howell | 2006-05-03 21:53:38 +0000 | 
|---|---|---|
| committer | Travis Howell | 2006-05-03 21:53:38 +0000 | 
| commit | 84c99c82427f961fef4ffadd9809383a9e70b761 (patch) | |
| tree | 4fd52d102b01f420ce3d03bcda265b1a19040ee0 /backends/fs | |
| parent | 9f7b98617db5720c7ce4894ce6ab835cbf78d5ae (diff) | |
| download | scummvm-rg350-84c99c82427f961fef4ffadd9809383a9e70b761.tar.gz scummvm-rg350-84c99c82427f961fef4ffadd9809383a9e70b761.tar.bz2 scummvm-rg350-84c99c82427f961fef4ffadd9809383a9e70b761.zip  | |
Revert the last change, since AbstractFilesystemNode::child() handles files and directories
svn-id: r22319
Diffstat (limited to 'backends/fs')
| -rw-r--r-- | backends/fs/windows/windows-fs.cpp | 2 | 
1 files changed, 1 insertions, 1 deletions
diff --git a/backends/fs/windows/windows-fs.cpp b/backends/fs/windows/windows-fs.cpp index 250953b064..13ed68878c 100644 --- a/backends/fs/windows/windows-fs.cpp +++ b/backends/fs/windows/windows-fs.cpp @@ -237,7 +237,7 @@ AbstractFilesystemNode *WindowsFilesystemNode::child(const String &name) const {  	// Check whether the directory actually exists  	DWORD fileAttribs = GetFileAttributes(toUnicode(newPath.c_str())); -	if (fileAttribs != FILE_ATTRIBUTE_DIRECTORY || fileAttribs == INVALID_FILE_ATTRIBUTES) +	if (fileAttribs == INVALID_FILE_ATTRIBUTES)  		return 0;  	WindowsFilesystemNode *p = new WindowsFilesystemNode(newPath);  | 
