aboutsummaryrefslogtreecommitdiffhomepage
path: root/builtin_set.c
diff options
context:
space:
mode:
authorGravatar axel <axel@liljencrantz.se>2006-10-20 01:24:18 +1000
committerGravatar axel <axel@liljencrantz.se>2006-10-20 01:24:18 +1000
commitae16397e1cdfa4b556f04d88fd60d7347875a324 (patch)
tree80dcfafac7910ef7bfc4f2d7ad7dd85fbd58009d /builtin_set.c
parent2d05b1c1b4cf51df30903a24d1d7944aa1b8eeb7 (diff)
Fix occasional garbled characters in output of the set builtin
darcs-hash:20061019152418-ac50b-2ef6e93820deb5e272f28f893c51dca642a6b080.gz
Diffstat (limited to 'builtin_set.c')
-rw-r--r--builtin_set.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/builtin_set.c b/builtin_set.c
index c57c52b7..d8ab66bc 100644
--- a/builtin_set.c
+++ b/builtin_set.c
@@ -358,7 +358,7 @@ static void print_variables(int include_values, int esc, int scope)
for( i = 0; i < al_get_count(&names); i++ )
{
wchar_t *key = (wchar_t *)al_get( &names, i );
- wchar_t *e_key = esc ? escape(key, 1) : wcsdup(key);
+ wchar_t *e_key = esc ? escape(key, 0) : wcsdup(key);
sb_append(sb_out, e_key);