From b7a5573dda40a120f3af7333caed7ad1d32b924c Mon Sep 17 00:00:00 2001 From: D G Turner Date: Sun, 22 Apr 2012 14:32:44 +0100 Subject: [PATCH] SWORD25: Correct stack dump debug function output. This was introduced by the change from C++ output streams (<<) to Common::String output. Thanks to salty-horse for finding this. --- engines/sword25/script/luabindhelper.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/engines/sword25/script/luabindhelper.cpp b/engines/sword25/script/luabindhelper.cpp index 8fbbe7e2723..6900305f5c9 100644 --- a/engines/sword25/script/luabindhelper.cpp +++ b/engines/sword25/script/luabindhelper.cpp @@ -412,7 +412,7 @@ Common::String LuaBindhelper::stackDump(lua_State *L) { oss += "------------------- Stack Dump -------------------\n"; while (i) { - oss += i + ": " + getLuaValueInfo(L, i) + "\n"; + oss += Common::String::format("%d: ", i) + getLuaValueInfo(L, i) + "\n"; i--; }