diff options
author | ShadowNinja <shadowninja@minetest.net> | 2014-11-08 12:48:05 -0500 |
---|---|---|
committer | ShadowNinja <shadowninja@minetest.net> | 2014-11-08 12:49:50 -0500 |
commit | 05e7f71b330a2413e3a40658c6c7c79b5998a0db (patch) | |
tree | 54a6deaf7f24b6ec4609217816d42c9b84c0aab5 /builtin/common/misc_helpers.lua | |
parent | 90b6de173ed1321e721599fcfd322b4ba616427f (diff) | |
download | minetest-05e7f71b330a2413e3a40658c6c7c79b5998a0db.tar.gz minetest-05e7f71b330a2413e3a40658c6c7c79b5998a0db.tar.bz2 minetest-05e7f71b330a2413e3a40658c6c7c79b5998a0db.zip |
Fix dump() indentation with non-tab indents
Diffstat (limited to 'builtin/common/misc_helpers.lua')
-rw-r--r-- | builtin/common/misc_helpers.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/builtin/common/misc_helpers.lua b/builtin/common/misc_helpers.lua index ce58b3f9b..a12de5970 100644 --- a/builtin/common/misc_helpers.lua +++ b/builtin/common/misc_helpers.lua @@ -145,7 +145,7 @@ function dump(o, indent, nested, level) nested[o] = nil if indent ~= "" then local indent_str = "\n"..string.rep(indent, level) - local end_indent_str = "\n"..string.rep("\t", level - 1) + local end_indent_str = "\n"..string.rep(indent, level - 1) return string.format("{%s%s%s}", indent_str, table.concat(t, ","..indent_str), |