aboutsummaryrefslogtreecommitdiffhomepage
path: root/complete.c
diff options
context:
space:
mode:
authorGravatar axel <axel@liljencrantz.se>2006-02-14 21:47:39 +1000
committerGravatar axel <axel@liljencrantz.se>2006-02-14 21:47:39 +1000
commit73d84fe13637cf8aeb3ebe60140b0ec80a88a730 (patch)
treea91e1289af809af043f2d7bbc34233859e211b49 /complete.c
parentc595448f9c1889965622cee28d9f0d15c2ffa194 (diff)
Escape semicolons and other chars that have syntactic meaning in various shell command situations
darcs-hash:20060214114739-ac50b-17616bf01a0504041c0d29ee9428abd8a9f9ad3a.gz
Diffstat (limited to 'complete.c')
-rw-r--r--complete.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/complete.c b/complete.c
index c6e218ea..a0dcd923 100644
--- a/complete.c
+++ b/complete.c
@@ -815,7 +815,7 @@ static const wchar_t *complete_get_desc_suffix( const wchar_t *suff_orig )
}
}
- wchar_t *tmp = escape( suff, 0 );
+ wchar_t *tmp = escape( suff, 1 );
free(suff);
suff = tmp;