diff src/ex_getln.c @ 1589:3a6ba07b3b9f v7.1.302

updated for version 7.1-302
author vimboss
date Wed, 28 May 2008 20:02:48 +0000
parents fe7db192c7cc
children fe3ec5ea62f7
line wrap: on
line diff
--- a/src/ex_getln.c
+++ b/src/ex_getln.c
@@ -3656,7 +3656,11 @@ ExpandEscape(xp, str, numfiles, files, o
 #endif
 		    }
 		}
+#ifdef BACKSLASH_IN_FILENAME
+		p = vim_strsave_fnameescape(files[i], FALSE);
+#else
 		p = vim_strsave_fnameescape(files[i], xp->xp_shell);
+#endif
 		if (p != NULL)
 		{
 		    vim_free(files[i]);