Skip to content

Commit b7a5573

Browse files
committed
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.
1 parent 8a227d6 commit b7a5573

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

engines/sword25/script/luabindhelper.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -412,7 +412,7 @@ Common::String LuaBindhelper::stackDump(lua_State *L) {
412412
oss += "------------------- Stack Dump -------------------\n";
413413

414414
while (i) {
415-
oss += i + ": " + getLuaValueInfo(L, i) + "\n";
415+
oss += Common::String::format("%d: ", i) + getLuaValueInfo(L, i) + "\n";
416416
i--;
417417
}
418418

0 commit comments

Comments
 (0)