diff options
| author | Torbjörn Andersson | 2004-11-29 11:14:12 +0000 |
|---|---|---|
| committer | Torbjörn Andersson | 2004-11-29 11:14:12 +0000 |
| commit | be58f22feb25ab840282fd38517c6c48db1b6c01 (patch) | |
| tree | 3205d5679e3bafb5bba7718fb268798c06e4ed92 /backends/fs/fs.cpp | |
| parent | e7572429376ffca14b8e6595ee958c7b3badabfd (diff) | |
| download | scummvm-rg350-be58f22feb25ab840282fd38517c6c48db1b6c01.tar.gz scummvm-rg350-be58f22feb25ab840282fd38517c6c48db1b6c01.tar.bz2 scummvm-rg350-be58f22feb25ab840282fd38517c6c48db1b6c01.zip | |
Allow the file browser to get back to the "pseudo root" under Windows. This
fixes bug #1074919.
svn-id: r15963
Diffstat (limited to 'backends/fs/fs.cpp')
| -rw-r--r-- | backends/fs/fs.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/backends/fs/fs.cpp b/backends/fs/fs.cpp index e051e46c9a..983263b37d 100644 --- a/backends/fs/fs.cpp +++ b/backends/fs/fs.cpp @@ -73,9 +73,9 @@ FilesystemNode &FilesystemNode::operator =(const FilesystemNode &node) { FilesystemNode FilesystemNode::getParent() const { AbstractFilesystemNode *node = _realNode->parent(); - if (node == 0) + if (node == 0) { return *this; - else { + } else { return AbstractFilesystemNode::wrap(node); } } |
