[Scummvm-git-logs] scummvm master -> 5743331001af6b5999b56f5eebb0c4453d654543

sev- sev at scummvm.org
Mon May 11 17:24:59 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:
5743331001 DIRECTOR: LINGO: Fixed 'play' keyword preprocessing


Commit: 5743331001af6b5999b56f5eebb0c4453d654543
    https://github.com/scummvm/scummvm/commit/5743331001af6b5999b56f5eebb0c4453d654543
Author: Eugene Sandulenko (sev at scummvm.org)
Date: 2020-05-11T19:20:45+02:00

Commit Message:
DIRECTOR: LINGO: Fixed 'play' keyword preprocessing

Changed paths:
    engines/director/lingo/lingo-preprocessor.cpp


diff --git a/engines/director/lingo/lingo-preprocessor.cpp b/engines/director/lingo/lingo-preprocessor.cpp
index 8b53b9cbd6..69831f6a14 100644
--- a/engines/director/lingo/lingo-preprocessor.cpp
+++ b/engines/director/lingo/lingo-preprocessor.cpp
@@ -419,10 +419,10 @@ Common::String preprocessPlay(Common::String in) {
 		debugC(2, kDebugLingoParse, "PLAY: nexttok: %s", next.c_str());
 
 		if (next.equalsIgnoreCase("done")) {
-			res += '#'; // Turn it into SYMBOL
+			res += " #"; // Turn it into SYMBOL
 		}
 
-		res += *ptr++; // We advance one character, so 'one' is left
+		res += next;
 		ptr = nextPtr;
 		beg = ptr;
 	}




More information about the Scummvm-git-logs mailing list