mirror of
https://github.com/scummvm/scummvm.git
synced 2026-06-20 05:45:29 +00:00
ZVISION: Some scripts action arguments can be uppercased, make all lowercase.
This commit is contained in:
1 parent
feabdc6017
commit
f3e2857cde
1 file changed
+3
-1
@@ -151,13 +151,14 @@ void ScriptManager::parseResults(Common::SeekableReadStream &stream, Common::Lis
|
||||
// Loop until we find the closing brace
|
||||
Common::String line = stream.readLine();
|
||||
trimCommentsAndWhiteSpace(&line);
|
||||
line.toLowercase();
|
||||
|
||||
// TODO: Re-order the if-then statements in order of highest occurrence
|
||||
while (!stream.eos() && !line.contains('}')) {
|
||||
if (line.empty()) {
|
||||
line = stream.readLine();
|
||||
trimCommentsAndWhiteSpace(&line);
|
||||
|
||||
line.toLowercase();
|
||||
continue;
|
||||
}
|
||||
|
||||
@@ -291,6 +292,7 @@ void ScriptManager::parseResults(Common::SeekableReadStream &stream, Common::Lis
|
||||
|
||||
line = stream.readLine();
|
||||
trimCommentsAndWhiteSpace(&line);
|
||||
line.toLowercase();
|
||||
}
|
||||
|
||||
return;
|
||||
|
||||
Reference in new issue
Block a user