diff options
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 |