[Scummvm-cvs-logs] scummvm master -> e000ed22d56e8ac8ab6680a8106bfa99b4f178fd

fuzzie fuzzie at fuzzie.org
Wed Apr 13 10:14:16 CEST 2011


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:
e000ed22d5 MOHAWK: LB's 'self' is case-insensitive


Commit: e000ed22d56e8ac8ab6680a8106bfa99b4f178fd
    https://github.com/scummvm/scummvm/commit/e000ed22d56e8ac8ab6680a8106bfa99b4f178fd
Author: Alyssa Milburn (fuzzie at fuzzie.org)
Date: 2011-04-13T01:11:20-07:00

Commit Message:
MOHAWK: LB's 'self' is case-insensitive

Changed paths:
    engines/mohawk/livingbooks_code.cpp



diff --git a/engines/mohawk/livingbooks_code.cpp b/engines/mohawk/livingbooks_code.cpp
index 756d881..84f69af 100644
--- a/engines/mohawk/livingbooks_code.cpp
+++ b/engines/mohawk/livingbooks_code.cpp
@@ -407,7 +407,7 @@ void LBCode::parseMain() {
 		Common::String varname = _currValue.string;
 		debugN("%s", varname.c_str());
 		nextToken();
-		if (varname == "self") {
+		if (varname.equalsIgnoreCase("self")) {
 			_stack.push(LBValue(_currSource));
 			if (_currToken == kTokenAssign)
 				error("attempted assignment to self");






More information about the Scummvm-git-logs mailing list