From 955fed1fda27e6f65e9c56668b96ffffebdf1533 Mon Sep 17 00:00:00 2001 From: Max Horn Date: Tue, 19 Nov 2002 13:42:57 +0000 Subject: fixed parent() method, added a FIXME svn-id: r5619 --- backends/fs/windows/windows-fs.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'backends/fs/windows') diff --git a/backends/fs/windows/windows-fs.cpp b/backends/fs/windows/windows-fs.cpp index 1481d3c6a8..cdba2691ff 100644 --- a/backends/fs/windows/windows-fs.cpp +++ b/backends/fs/windows/windows-fs.cpp @@ -191,7 +191,7 @@ FSList *WindowsFilesystemNode::listDir(ListMode mode) const { FilesystemNode *WindowsFilesystemNode::parent() const { assert(_isDirectory); // FIXME - Why this restriction? Files have parent dirs, too! - return _parentNode.clone(); + return _parentNode->clone(); } #endif // defined(_MSC_VER) || defined(__MINGW32__) -- cgit v1.2.3