diff options
author | D G Turner | 2012-04-22 14:32:44 +0100 |
---|---|---|
committer | D G Turner | 2012-04-22 14:36:51 +0100 |
commit | b7a5573dda40a120f3af7333caed7ad1d32b924c (patch) | |
tree | a46ded221769e601d6705304c1e2c058250e8fea | |
parent | 8a227d69037f4b0a1241c9930657a5457def08a8 (diff) | |
download | scummvm-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.cpp | 2 |
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--; } |