From cf7164a088664961e7d70dd100c5874dc5ceb293 Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Sat, 20 Feb 2016 13:55:06 +0100 Subject: patch 7.4.1364 Problem: The Win 16 code is not maintained and unused. Solution: Remove the Win 16 support. --- src/misc2.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/misc2.c') diff --git a/src/misc2.c b/src/misc2.c index 7f33ffa55..9cfb11817 100644 --- a/src/misc2.c +++ b/src/misc2.c @@ -1400,7 +1400,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(WIN16) || defined(DOS) +# if defined(WIN32) || defined(DOS) if (!p_ssl) { if (*p == '"') @@ -1431,7 +1431,7 @@ vim_strsave_shellescape(char_u *string, int do_special, int do_newline) d = escaped_string; /* add opening quote */ -# if defined(WIN32) || defined(WIN16) || defined(DOS) +# if defined(WIN32) || defined(DOS) if (!p_ssl) *d++ = '"'; else @@ -1440,7 +1440,7 @@ vim_strsave_shellescape(char_u *string, int do_special, int do_newline) for (p = string; *p != NUL; ) { -# if defined(WIN32) || defined(WIN16) || defined(DOS) +# if defined(WIN32) || defined(DOS) if (!p_ssl) { if (*p == '"') @@ -1483,7 +1483,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(WIN16) || defined(DOS) +# if defined(WIN32) || defined(DOS) if (!p_ssl) *d++ = '"'; else -- cgit v1.2.1