Mercurial > vim
diff src/misc2.c @ 10264:c036c0f636d5 v8.0.0029
commit https://github.com/vim/vim/commit/cea912af725c54f4727a0565e31661f6b29c6bb1
Author: Bram Moolenaar <Bram@vim.org>
Date: Wed Oct 12 14:20:24 2016 +0200
patch 8.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)
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Wed, 12 Oct 2016 14:30:05 +0200 |
parents | cfb38b57d407 |
children | 6ab770e97152 |
line wrap: on
line diff
--- a/src/misc2.c +++ b/src/misc2.c @@ -1420,7 +1420,7 @@ vim_strsave_shellescape(char_u *string, 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, 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, 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, } /* add terminating quote and finish with a NUL */ -# if defined(WIN32) || defined(DOS) +# ifdef WIN32 if (!p_ssl) *d++ = '"'; else