diff options
author | Bram Moolenaar <Bram@vim.org> | 2016-10-12 14:20:24 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2016-10-12 14:20:24 +0200 |
commit | cea912af725c54f4727a0565e31661f6b29c6bb1 (patch) | |
tree | f48da16d68c229e22ff83fa31cc7337368875e3d /src/misc2.c | |
parent | a7c023ec88233a2db4c1f53121921e110ece8d43 (diff) | |
download | vim-git-cea912af725c54f4727a0565e31661f6b29c6bb1.tar.gz |
patch 8.0.0029v8.0.0029
Problem: Code for MS-Windows is complicated because of the exceptions for
old systems.
Solution: Drop support for MS-Windows older than Windows XP. (Ken Takata)
Diffstat (limited to 'src/misc2.c')
-rw-r--r-- | src/misc2.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/misc2.c b/src/misc2.c index 4d914d233..030cff3bc 100644 --- a/src/misc2.c +++ b/src/misc2.c @@ -1420,7 +1420,7 @@ vim_strsave_shellescape(char_u *string, int do_special, int do_newline) length = (unsigned)STRLEN(string) + 3; /* two quotes and a trailing NUL */ for (p = string; *p != NUL; mb_ptr_adv(p)) { -# if defined(WIN32) || defined(DOS) +# ifdef WIN32 if (!p_ssl) { if (*p == '"') @@ -1451,7 +1451,7 @@ vim_strsave_shellescape(char_u *string, int do_special, int do_newline) d = escaped_string; /* add opening quote */ -# if defined(WIN32) || defined(DOS) +# ifdef WIN32 if (!p_ssl) *d++ = '"'; else @@ -1460,7 +1460,7 @@ vim_strsave_shellescape(char_u *string, int do_special, int do_newline) for (p = string; *p != NUL; ) { -# if defined(WIN32) || defined(DOS) +# ifdef WIN32 if (!p_ssl) { if (*p == '"') @@ -1503,7 +1503,7 @@ vim_strsave_shellescape(char_u *string, int do_special, int do_newline) } /* add terminating quote and finish with a NUL */ -# if defined(WIN32) || defined(DOS) +# ifdef WIN32 if (!p_ssl) *d++ = '"'; else |