[Scummvm-git-logs] scummvm master -> b205bc0e8ab1b4c70e4301eb04a4102a874cd8ca

sluicebox 22204938+sluicebox at users.noreply.github.com
Sun Dec 20 20:11:11 UTC 2020


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:
b205bc0e8a SCI: Add missing newlines to console output


Commit: b205bc0e8ab1b4c70e4301eb04a4102a874cd8ca
    https://github.com/scummvm/scummvm/commit/b205bc0e8ab1b4c70e4301eb04a4102a874cd8ca
Author: sluicebox (22204938+sluicebox at users.noreply.github.com)
Date: 2020-12-20T12:09:06-08:00

Commit Message:
SCI: Add missing newlines to console output

Changed paths:
    engines/sci/console.cpp


diff --git a/engines/sci/console.cpp b/engines/sci/console.cpp
index ab6a96e7eb..2cca75f018 100644
--- a/engines/sci/console.cpp
+++ b/engines/sci/console.cpp
@@ -516,7 +516,7 @@ bool Console::cmdOpcodes(int argc, const char **argv) {
 
 	// If the resource couldn't be loaded, leave
 	if (!r) {
-		debugPrintf("unable to load vocab.998");
+		debugPrintf("unable to load vocab.998\n");
 		return true;
 	}
 
@@ -2682,7 +2682,7 @@ bool Console::cmdToggleSound(int argc, const char **argv) {
 	} else if (newState == "stop")
 		g_sci->_soundCmd->processStopSound(id, false);
 	else
-		debugPrintf("New state can either be 'play' or 'stop'");
+		debugPrintf("New state can either be 'play' or 'stop'\n");
 
 	return true;
 }
@@ -2961,7 +2961,7 @@ bool Console::cmdStack(int argc, const char **argv) {
 	}
 
 	if (_engine->_gamestate->_executionStack.empty()) {
-		debugPrintf("No exec stack!");
+		debugPrintf("No exec stack!\n");
 		return true;
 	}
 
@@ -3000,19 +3000,19 @@ bool Console::cmdValueType(int argc, const char **argv) {
 
 	switch (t) {
 	case SIG_TYPE_LIST:
-		debugPrintf("List");
+		debugPrintf("List\n");
 		break;
 	case SIG_TYPE_OBJECT:
-		debugPrintf("Object");
+		debugPrintf("Object\n");
 		break;
 	case SIG_TYPE_REFERENCE:
-		debugPrintf("Reference");
+		debugPrintf("Reference\n");
 		break;
 	case SIG_TYPE_INTEGER:
-		debugPrintf("Integer");
+		debugPrintf("Integer\n");
 		break;
 	case SIG_TYPE_INTEGER | SIG_TYPE_NULL:
-		debugPrintf("Null");
+		debugPrintf("Null\n");
 		break;
 	default:
 		debugPrintf("Erroneous unknown type 0x%02x (%d decimal)\n", t, t);




More information about the Scummvm-git-logs mailing list