aboutsummaryrefslogtreecommitdiff
path: root/cmdbuf.c
diff options
context:
space:
mode:
authorXin LI <delphij@FreeBSD.org>2012-07-23 21:31:53 +0000
committerXin LI <delphij@FreeBSD.org>2012-07-23 21:31:53 +0000
commit9fd1a2751f1696d0214ae5bd77550d31eb4dcd2e (patch)
treeca2905ac4039d0a117f9280c5c4c77c235bcb95d /cmdbuf.c
parentae8c2162b0f1c1823dae013469f900b9882b77a2 (diff)
downloadsrc-9fd1a2751f1696d0214ae5bd77550d31eb4dcd2e.tar.gz
src-9fd1a2751f1696d0214ae5bd77550d31eb4dcd2e.zip
Vendor import of v451 (beta)vendor/less/v451
Notes
Notes: svn path=/vendor/less/dist/; revision=238727 svn path=/vendor/less/v451/; revision=238728; tag=vendor/less/v451
Diffstat (limited to 'cmdbuf.c')
-rw-r--r--cmdbuf.c20
1 files changed, 12 insertions, 8 deletions
diff --git a/cmdbuf.c b/cmdbuf.c
index 804a0329b138..ec25096b7b0d 100644
--- a/cmdbuf.c
+++ b/cmdbuf.c
@@ -1,11 +1,11 @@
-/*
- * Copyright (C) 1984-2012 Mark Nudelman
- *
- * You may distribute under the terms of either the GNU General Public
- * License or the Less License, as specified in the README file.
- *
- * For more information, see the README file.
- */
+/*
+ * Copyright (C) 1984-2012 Mark Nudelman
+ *
+ * You may distribute under the terms of either the GNU General Public
+ * License or the Less License, as specified in the README file.
+ *
+ * For more information, see the README file.
+ */
/*
@@ -1087,7 +1087,11 @@ init_compl()
tk_text = fcomplete(word);
} else
{
+#if MSDOS_COMPILER
+ char *qword = NULL;
+#else
char *qword = shell_quote(word+1);
+#endif
if (qword == NULL)
tk_text = fcomplete(word+1);
else