aboutsummaryrefslogtreecommitdiff
path: root/engines/mads/nebular/menu_nebular.cpp
diff options
context:
space:
mode:
authorStrangerke2014-10-08 07:41:23 +0200
committerStrangerke2014-10-08 07:41:23 +0200
commit5d8f53ef7364eb328a0eee5c59605914a48f78a0 (patch)
treeebce4823747bed40eddf76e656cff42fb10b11d9 /engines/mads/nebular/menu_nebular.cpp
parent8c07c773886097e6dec989fd88e34d44ea8bba35 (diff)
downloadscummvm-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/menu_nebular.cpp')
-rw-r--r--engines/mads/nebular/menu_nebular.cpp2
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;