about summary refs log tree commit diff
path: root/Src/Modules
diff options
context:
space:
mode:
authorPeter Stephenson <pws@users.sourceforge.net>2008-09-11 17:14:38 +0000
committerPeter Stephenson <pws@users.sourceforge.net>2008-09-11 17:14:38 +0000
commitd37f9672cb2e29f7dd3b32c9164250d56549f4bc (patch)
treea3730f8eb050d58307ba5f27b417165aa15644c5 /Src/Modules
parentfb67cd46eafb1301844ed98f1c0e8d2cf8cbdee4 (diff)
downloadzsh-d37f9672cb2e29f7dd3b32c9164250d56549f4bc.tar.gz
zsh-d37f9672cb2e29f7dd3b32c9164250d56549f4bc.tar.xz
zsh-d37f9672cb2e29f7dd3b32c9164250d56549f4bc.zip
25651: make getpermtext() output indentation more logical
Diffstat (limited to 'Src/Modules')
-rw-r--r--Src/Modules/parameter.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/Src/Modules/parameter.c b/Src/Modules/parameter.c
index b6c8c5608..4e1205ec8 100644
--- a/Src/Modules/parameter.c
+++ b/Src/Modules/parameter.c
@@ -390,7 +390,7 @@ getfunction(UNUSED(HashTable ht), const char *name, int dis)
 				((shf->node.flags & PM_TAGGED) ? "Ut" : "U") :
 				((shf->node.flags & PM_TAGGED) ? "t" : "")));
 	} else {
-	    char *t = getpermtext(shf->funcdef, NULL), *n, *h;
+	    char *t = getpermtext(shf->funcdef, NULL, 1), *n, *h;
 
 	    if (shf->funcdef->flags & EF_RUN) {
 		n = nicedupstring(name);
@@ -455,7 +455,8 @@ scanfunctions(UNUSED(HashTable ht), ScanFunc func, int flags, int dis)
 				    ((shf->node.flags & PM_TAGGED) ? "Ut" : "U") :
 				    ((shf->node.flags & PM_TAGGED) ? "t" : "")));
 		    } else {
-			char *t = getpermtext(((Shfunc) hn)->funcdef, NULL), *n;
+			char *t = getpermtext(((Shfunc) hn)->funcdef, NULL, 1);
+			char *n;
 
 			if (((Shfunc) hn)->funcdef->flags & EF_RUN) {
 			    n = nicedupstring(hn->nam);