about summary refs log tree commit diff
path: root/Src/text.c
diff options
context:
space:
mode:
Diffstat (limited to 'Src/text.c')
-rw-r--r--Src/text.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Src/text.c b/Src/text.c
index db24d8c9e..0079e9fea 100644
--- a/Src/text.c
+++ b/Src/text.c
@@ -807,7 +807,7 @@ getredirs(LinkList redirs)
 		 * quotes certainly isn't right in that case).
 		 */
 		taddchr('\'');
-		taddstr(bslashquote(f->name, NULL, 1));
+		taddstr(quotestring(f->name, NULL, QT_SINGLE));
 		taddchr('\'');
 	    } else
 		taddstr(f->name);