[Scummvm-git-logs] scummvm master -> 03d0a7b891574b51a1a0bf14f72bfa54c1443ab7
sev-
sev at scummvm.org
Sun Oct 4 20:09:26 UTC 2020
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:
03d0a7b891 DIRECTOR: Added comments
Commit: 03d0a7b891574b51a1a0bf14f72bfa54c1443ab7
https://github.com/scummvm/scummvm/commit/03d0a7b891574b51a1a0bf14f72bfa54c1443ab7
Author: Eugene Sandulenko (sev at scummvm.org)
Date: 2020-10-04T22:09:11+02:00
Commit Message:
DIRECTOR: Added comments
Changed paths:
engines/director/util.cpp
diff --git a/engines/director/util.cpp b/engines/director/util.cpp
index e76f6028ff..656cea5dfa 100644
--- a/engines/director/util.cpp
+++ b/engines/director/util.cpp
@@ -253,10 +253,10 @@ Common::String convertPath(Common::String &path) {
Common::String res;
uint32 idx = 0;
- if (path.hasPrefix("::")) {
+ if (path.hasPrefix("::")) { // Root of the filesystem
res = "..\\";
idx = 2;
- } else if (path.hasPrefix("@:")) {
+ } else if (path.hasPrefix("@:")) { // Root of the game
res = ".\\";
idx = 2;
} else {
More information about the Scummvm-git-logs
mailing list