[Scummvm-git-logs] scummvm master -> 63faf359eb927628ded0e8574e29f613f307deeb

aquadran noreply at scummvm.org
Sun Jan 16 07:57:36 UTC 2022


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:
63faf359eb GRIM: Added newlines for lua debug traces


Commit: 63faf359eb927628ded0e8574e29f613f307deeb
    https://github.com/scummvm/scummvm/commit/63faf359eb927628ded0e8574e29f613f307deeb
Author: Paweł Kołodziejski (aquadran at gmail.com)
Date: 2022-01-16T08:57:31+01:00

Commit Message:
GRIM: Added newlines for lua debug traces

Changed paths:
    engines/grim/lua_v1.cpp


diff --git a/engines/grim/lua_v1.cpp b/engines/grim/lua_v1.cpp
index d4ae476c21a..0ec7a023db3 100644
--- a/engines/grim/lua_v1.cpp
+++ b/engines/grim/lua_v1.cpp
@@ -73,7 +73,7 @@ void Lua_V1::PrintDebug() {
 		if (!lua_isstring(strObj))
 			return;
 		msg += Common::String(lua_getstring(strObj));
-		debugN("%s", msg.c_str());
+		debugN("%s\n", msg.c_str());
 	}
 }
 
@@ -86,7 +86,7 @@ void Lua_V1::PrintError() {
 		if (!lua_isstring(strObj))
 			return;
 		msg += Common::String(lua_getstring(strObj));
-		debugN("%s", msg.c_str());
+		debugN("%s\n", msg.c_str());
 	}
 }
 
@@ -99,7 +99,7 @@ void Lua_V1::PrintWarning() {
 		if (!lua_isstring(strObj))
 			return;
 		msg += Common::String(lua_getstring(strObj));
-		debugN("%s", msg.c_str());
+		debugN("%s\n", msg.c_str());
 	}
 }
 




More information about the Scummvm-git-logs mailing list