about summary refs log tree commit diff
path: root/Src/subst.c
diff options
context:
space:
mode:
authorPeter Stephenson <pws@users.sourceforge.net>2008-05-12 13:50:42 +0000
committerPeter Stephenson <pws@users.sourceforge.net>2008-05-12 13:50:42 +0000
commitbd70d684fcf40ff1fba07ec69bd08e1ce40cbd2f (patch)
tree3392bb954086841c7351e06b45e82594342f4e31 /Src/subst.c
parent58580d31f593021e2ed4bfad8362e3b01bf396f3 (diff)
downloadzsh-bd70d684fcf40ff1fba07ec69bd08e1ce40cbd2f.tar.gz
zsh-bd70d684fcf40ff1fba07ec69bd08e1ce40cbd2f.tar.xz
zsh-bd70d684fcf40ff1fba07ec69bd08e1ce40cbd2f.zip
25002: only ZLE should update attributes resulting from prompt expansion
Diffstat (limited to 'Src/subst.c')
-rw-r--r--Src/subst.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/Src/subst.c b/Src/subst.c
index 1645764ec..7906f80bd 100644
--- a/Src/subst.c
+++ b/Src/subst.c
@@ -2699,7 +2699,7 @@ paramsubst(LinkList l, LinkNode n, char **str, int qt, int ssub)
 		unmetafy(*ap, &len);
 		untokenize(*ap);
 		tmps = unmetafy(promptexpand(metafy(*ap, len, META_NOALLOC),
-					     0, NULL, NULL), &len);
+					     0, NULL, NULL, NULL), &len);
 		*ap = dupstring(tmps);
 		free(tmps);
 	    }
@@ -2710,7 +2710,7 @@ paramsubst(LinkList l, LinkNode n, char **str, int qt, int ssub)
 	    unmetafy(val, &len);
 	    untokenize(val);
 	    tmps = unmetafy(promptexpand(metafy(val, len, META_NOALLOC),
-					0, NULL, NULL), &len);
+					0, NULL, NULL, NULL), &len);
 	    val = dupstring(tmps);
 	    free(tmps);
 	}