From 05e7f71b330a2413e3a40658c6c7c79b5998a0db Mon Sep 17 00:00:00 2001 From: ShadowNinja Date: Sat, 8 Nov 2014 12:48:05 -0500 Subject: [PATCH] Fix dump() indentation with non-tab indents --- builtin/common/misc_helpers.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/builtin/common/misc_helpers.lua b/builtin/common/misc_helpers.lua index ce58b3f9..a12de597 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),