[Scummvm-cvs-logs] scummvm master -> 9ca021a0d27acf1b9277509b7c0429634a3f0bc2
bluegr
bluegr at gmail.com
Mon Oct 13 23:36:08 CEST 2014
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:
9ca021a0d2 MADS: Properly skip empty lines in animation files
Commit: 9ca021a0d27acf1b9277509b7c0429634a3f0bc2
https://github.com/scummvm/scummvm/commit/9ca021a0d27acf1b9277509b7c0429634a3f0bc2
Author: Filippos Karapetis (bluegr at gmail.com)
Date: 2014-10-14T00:35:01+03:00
Commit Message:
MADS: Properly skip empty lines in animation files
Changed paths:
engines/mads/nebular/menu_nebular.cpp
diff --git a/engines/mads/nebular/menu_nebular.cpp b/engines/mads/nebular/menu_nebular.cpp
index 355cef6..1cee544 100644
--- a/engines/mads/nebular/menu_nebular.cpp
+++ b/engines/mads/nebular/menu_nebular.cpp
@@ -953,7 +953,7 @@ void AnimationView::processLines() {
_currentLine.clear();
char c;
while (!_script.eos() && (c = _script.readByte()) != '\n') {
- if (c != '\r')
+ if (c != '\r' && c != '\0')
_currentLine += c;
}
More information about the Scummvm-git-logs
mailing list