summaryrefslogtreecommitdiff
path: root/src/memline.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2006-10-10 19:56:03 +0000
committerBram Moolenaar <Bram@vim.org>2006-10-10 19:56:03 +0000
commit2cc93184012d58475cb1a6236ec70174aaedc2f0 (patch)
tree966d066829e0d80f1823f3da3799d31aee0f8611 /src/memline.c
parent043545e0f63b74585a6257b23a1e8b59b6a08c29 (diff)
downloadvim-git-2cc93184012d58475cb1a6236ec70174aaedc2f0.tar.gz
updated for version 7.0-131v7.0.131
Diffstat (limited to 'src/memline.c')
-rw-r--r--src/memline.c10
1 files changed, 6 insertions, 4 deletions
diff --git a/src/memline.c b/src/memline.c
index 5c55e70f2..5d43dc3f0 100644
--- a/src/memline.c
+++ b/src/memline.c
@@ -1400,8 +1400,9 @@ recover_names(fname, list, nr)
names[0] = vim_strsave((char_u *)"*.sw?");
# endif
#endif
-#ifdef UNIX
- /* for Unix names starting with a dot are special */
+#if defined(UNIX) || defined(WIN3264)
+ /* For Unix names starting with a dot are special. MS-Windows
+ * supports this too, on some file systems. */
names[1] = vim_strsave((char_u *)".*.sw?");
names[2] = vim_strsave((char_u *)".sw?");
num_names = 3;
@@ -1430,8 +1431,9 @@ recover_names(fname, list, nr)
names[0] = concat_fnames(dir_name, (char_u *)"*.sw?", TRUE);
# endif
#endif
-#ifdef UNIX
- /* for Unix names starting with a dot are special */
+#if defined(UNIX) || defined(WIN3264)
+ /* For Unix names starting with a dot are special. MS-Windows
+ * supports this too, on some file systems. */
names[1] = concat_fnames(dir_name, (char_u *)".*.sw?", TRUE);
names[2] = concat_fnames(dir_name, (char_u *)".sw?", TRUE);
num_names = 3;