From 9e905228ef01fdd0781d93a725aeb228a1168c3d Mon Sep 17 00:00:00 2001 From: Thomas Geymayer Date: Sat, 21 Jun 2014 12:04:19 +0200 Subject: [PATCH] Nasal: respect color argument for debug._dump_prop --- Nasal/debug.nas | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Nasal/debug.nas b/Nasal/debug.nas index 121ab32c9..431d57afd 100644 --- a/Nasal/debug.nas +++ b/Nasal/debug.nas @@ -164,7 +164,8 @@ var attributes = func(p, verbose = 1, color=nil) { var _dump_prop = func(p, color=nil) { - _path(p.getPath(), color) ~ " = " ~ debug.string(p.getValue()) ~ " " ~ attributes(p); + _path(p.getPath(), color) ~ " = " ~ debug.string(p.getValue(), color) + ~ " " ~ attributes(p, 1, color); }