[Scummvm-cvs-logs] scummvm master -> 5d8f53ef7364eb328a0eee5c59605914a48f78a0

Strangerke Strangerke at scummvm.org
Wed Oct 8 07:43:45 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:
5d8f53ef73 MADS: Rex - Empty properly the current line buffer before getting the next menu line


Commit: 5d8f53ef7364eb328a0eee5c59605914a48f78a0
    https://github.com/scummvm/scummvm/commit/5d8f53ef7364eb328a0eee5c59605914a48f78a0
Author: Strangerke (strangerke at scummvm.org)
Date: 2014-10-08T07:41:23+02:00

Commit Message:
MADS: Rex - Empty properly the current line buffer before getting the next menu line

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 1b71555..e7921ba 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;






More information about the Scummvm-git-logs mailing list