[Scummvm-git-logs] scummvm master -> d488e1dd55942e7b722b7e573ace57d65c915b49
sev-
sev at scummvm.org
Mon Sep 16 13:15:27 CEST 2019
This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .
Summary:
d488e1dd55 Revert "WIN32: Fix getting the parent directory of non-existant file nodes"
Commit: d488e1dd55942e7b722b7e573ace57d65c915b49
https://github.com/scummvm/scummvm/commit/d488e1dd55942e7b722b7e573ace57d65c915b49
Author: Alexander Tkachev (alexander at tkachov.ru)
Date: 2019-09-16T13:15:23+02:00
Commit Message:
Revert "WIN32: Fix getting the parent directory of non-existant file nodes"
Changed paths:
backends/fs/windows/windows-fs.cpp
diff --git a/backends/fs/windows/windows-fs.cpp b/backends/fs/windows/windows-fs.cpp
index cc778d2..e69e72a 100644
--- a/backends/fs/windows/windows-fs.cpp
+++ b/backends/fs/windows/windows-fs.cpp
@@ -220,6 +220,8 @@ bool WindowsFilesystemNode::getChildren(AbstractFSList &myList, ListMode mode, b
}
AbstractFSNode *WindowsFilesystemNode::getParent() const {
+ assert(_isValid || _isPseudoRoot);
+
if (_isPseudoRoot)
return 0;
More information about the Scummvm-git-logs
mailing list