[Scummvm-git-logs] scummvm master -> 3041271b96063caaffd69916d7a8bddc2ac14f87

aquadran noreply at scummvm.org
Mon Oct 28 13:31:39 UTC 2024


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:
3041271b96 WINTERMUTE: CID: 1403174


Commit: 3041271b96063caaffd69916d7a8bddc2ac14f87
    https://github.com/scummvm/scummvm/commit/3041271b96063caaffd69916d7a8bddc2ac14f87
Author: Paweł Kołodziejski (aquadran at gmail.com)
Date: 2024-10-28T14:31:34+01:00

Commit Message:
WINTERMUTE: CID: 1403174

Changed paths:
    engines/wintermute/base/base_file_manager.cpp


diff --git a/engines/wintermute/base/base_file_manager.cpp b/engines/wintermute/base/base_file_manager.cpp
index 9731d3d281e..3b58e02f4e1 100644
--- a/engines/wintermute/base/base_file_manager.cpp
+++ b/engines/wintermute/base/base_file_manager.cpp
@@ -206,6 +206,9 @@ bool BaseFileManager::registerPackages() {
 			warning("getChildren() failed for path: %s", it->getName().c_str());
 		}
 		for (Common::FSList::const_iterator fileIt = files.begin(); fileIt != files.end(); ++fileIt) {
+			if (!fileIt)
+				continue;
+
 			// To prevent any case sensitivity issues we make the filename
 			// all lowercase here. This makes the code slightly prettier
 			// than the equivalent of using equalsIgnoreCase.




More information about the Scummvm-git-logs mailing list