diff options
author | Max Horn | 2002-11-19 13:44:28 +0000 |
---|---|---|
committer | Max Horn | 2002-11-19 13:44:28 +0000 |
commit | d5d5cf2b6dfc1d4de2a7d7d1745e1a51bf38eb9f (patch) | |
tree | 2da6793eaa45e899fc7d66d3bf872a09257b2bb4 /backends | |
parent | 955fed1fda27e6f65e9c56668b96ffffebdf1533 (diff) | |
download | scummvm-rg350-d5d5cf2b6dfc1d4de2a7d7d1745e1a51bf38eb9f.tar.gz scummvm-rg350-d5d5cf2b6dfc1d4de2a7d7d1745e1a51bf38eb9f.tar.bz2 scummvm-rg350-d5d5cf2b6dfc1d4de2a7d7d1745e1a51bf38eb9f.zip |
fixed parent() for root node
svn-id: r5620
Diffstat (limited to 'backends')
-rw-r--r-- | backends/fs/morphos/abox-fs.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/backends/fs/morphos/abox-fs.cpp b/backends/fs/morphos/abox-fs.cpp index 8b75f582a0..6cc53a7b54 100644 --- a/backends/fs/morphos/abox-fs.cpp +++ b/backends/fs/morphos/abox-fs.cpp @@ -204,7 +204,7 @@ FilesystemNode *ABoxFilesystemNode::parent() const if (_lock == NULL) /* Parent of the root is the root itself */ - node = const_cast<ABoxFilesystemNode*>(this); + node = clone(); else { BPTR parent_lock = ParentDir(_lock); |