[Scummvm-git-logs] scummvm master -> 38325907e7253024a3cf174ff57c28f2e9a65fa1

aquadran noreply at scummvm.org
Wed Sep 17 04:11:06 UTC 2025


This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://api.github.com/repos/scummvm/scummvm .

Summary:
38325907e7 WINTERMUTE: Small correction on type on path util


Commit: 38325907e7253024a3cf174ff57c28f2e9a65fa1
    https://github.com/scummvm/scummvm/commit/38325907e7253024a3cf174ff57c28f2e9a65fa1
Author: Paweł Kołodziejski (aquadran at gmail.com)
Date: 2025-09-17T06:11:01+02:00

Commit Message:
WINTERMUTE: Small correction on type on path util

Changed paths:
    engines/wintermute/utils/path_util.cpp


diff --git a/engines/wintermute/utils/path_util.cpp b/engines/wintermute/utils/path_util.cpp
index c673df9954d..d9913dd21a4 100644
--- a/engines/wintermute/utils/path_util.cpp
+++ b/engines/wintermute/utils/path_util.cpp
@@ -69,7 +69,7 @@ Common::String PathUtil::getDirectoryName(const Common::String &path) {
 
 	size_t pos = newPath.findLastOf('/');
 
-	if (pos == AnsiString::npos) {
+	if (pos == Common::String::npos) {
 		return "";
 	} else {
 		return newPath.substr(0, pos + 1);




More information about the Scummvm-git-logs mailing list