diff options
author | Strangerke | 2014-10-08 07:41:23 +0200 |
---|---|---|
committer | Strangerke | 2014-10-08 07:41:23 +0200 |
commit | 5d8f53ef7364eb328a0eee5c59605914a48f78a0 (patch) | |
tree | ebce4823747bed40eddf76e656cff42fb10b11d9 /engines/mads/nebular | |
parent | 8c07c773886097e6dec989fd88e34d44ea8bba35 (diff) | |
download | scummvm-rg350-5d8f53ef7364eb328a0eee5c59605914a48f78a0.tar.gz scummvm-rg350-5d8f53ef7364eb328a0eee5c59605914a48f78a0.tar.bz2 scummvm-rg350-5d8f53ef7364eb328a0eee5c59605914a48f78a0.zip |
MADS: Rex - Empty properly the current line buffer before getting the next menu line
Diffstat (limited to 'engines/mads/nebular')
-rw-r--r-- | engines/mads/nebular/menu_nebular.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/mads/nebular/menu_nebular.cpp b/engines/mads/nebular/menu_nebular.cpp index 1b71555e23..e7921ba699 100644 --- a/engines/mads/nebular/menu_nebular.cpp +++ b/engines/mads/nebular/menu_nebular.cpp @@ -949,7 +949,7 @@ void AnimationView::processLines() { char c; while (!_script.eos()) { // Get in next line - _currentLine.empty(); + _currentLine.clear(); while (!_script.eos() && (c = _script.readByte()) != '\n') { if (c != '\r') _currentLine += c; |