aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorD G Turner2012-04-22 14:32:44 +0100
committerD G Turner2012-04-22 14:36:51 +0100
commitb7a5573dda40a120f3af7333caed7ad1d32b924c (patch)
treea46ded221769e601d6705304c1e2c058250e8fea
parent8a227d69037f4b0a1241c9930657a5457def08a8 (diff)
downloadscummvm-rg350-b7a5573dda40a120f3af7333caed7ad1d32b924c.tar.gz
scummvm-rg350-b7a5573dda40a120f3af7333caed7ad1d32b924c.tar.bz2
scummvm-rg350-b7a5573dda40a120f3af7333caed7ad1d32b924c.zip
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.
-rw-r--r--engines/sword25/script/luabindhelper.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/sword25/script/luabindhelper.cpp b/engines/sword25/script/luabindhelper.cpp
index 8fbbe7e272..6900305f5c 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--;
}