From 5d8f53ef7364eb328a0eee5c59605914a48f78a0 Mon Sep 17 00:00:00 2001 From: Strangerke Date: Wed, 8 Oct 2014 07:41:23 +0200 Subject: MADS: Rex - Empty properly the current line buffer before getting the next menu line --- engines/mads/nebular/menu_nebular.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'engines/mads/nebular/menu_nebular.cpp') 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; -- cgit v1.2.3