diff options
Diffstat (limited to 'engines')
| -rw-r--r-- | engines/mohawk/livingbooks_code.cpp | 2 | 
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/mohawk/livingbooks_code.cpp b/engines/mohawk/livingbooks_code.cpp index 756d881365..84f69af2ac 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");  | 
