[Scummvm-git-logs] scummvm master -> 4f1ccf0ef73d58058df8cfdd1233c81dcc6a6af3
lephilousophe
noreply at scummvm.org
Sat Jan 13 16:58:57 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:
4f1ccf0ef7 COMMON: Fix fromConfig not using the fixed path under Windows
Commit: 4f1ccf0ef73d58058df8cfdd1233c81dcc6a6af3
https://github.com/scummvm/scummvm/commit/4f1ccf0ef73d58058df8cfdd1233c81dcc6a6af3
Author: Le Philousophe (lephilousophe at users.noreply.github.com)
Date: 2024-01-13T17:57:57+01:00
Commit Message:
COMMON: Fix fromConfig not using the fixed path under Windows
Instead of using value_ it uses the untouched value.
Changed paths:
common/path.cpp
diff --git a/common/path.cpp b/common/path.cpp
index 13253fe04e9..66a36814f62 100644
--- a/common/path.cpp
+++ b/common/path.cpp
@@ -1122,7 +1122,7 @@ Path Path::fromConfig(const String &value) {
// As / is forbidden in paths under WIN32, this will never be a collision
value_.replace(Path::kNativeSeparator, '/');
// As we have \, we are sure we didn't punyencode this path
- return Path(value, '/');
+ return Path(value_, '/');
}
#endif
More information about the Scummvm-git-logs
mailing list