summaryrefslogtreecommitdiff
path: root/plugins/MirLua/src/mlua_utils.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/MirLua/src/mlua_utils.cpp')
-rw-r--r--plugins/MirLua/src/mlua_utils.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/MirLua/src/mlua_utils.cpp b/plugins/MirLua/src/mlua_utils.cpp
index 5c84fb5c74..f21bd8fcbf 100644
--- a/plugins/MirLua/src/mlua_utils.cpp
+++ b/plugins/MirLua/src/mlua_utils.cpp
@@ -92,10 +92,10 @@ int luaM_print(lua_State *L)
data.AppendFormat("%s(0x%p)", luaL_typename(L, i), lua_topointer(L, i));
break;
}
- data += '\t';
+ data.Append(", ");
}
if (data.GetLength() >= 1)
- data.Delete(data.GetLength() - 1, 1);
+ data.Delete(data.GetLength() - 2, 2);
Log(data.GetBuffer());