summaryrefslogtreecommitdiff
path: root/src/misc2.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2016-02-20 13:55:06 +0100
committerBram Moolenaar <Bram@vim.org>2016-02-20 13:55:06 +0100
commitcf7164a088664961e7d70dd100c5874dc5ceb293 (patch)
tree93cf8f7643786a9cb9488852b73c1ef480031ee1 /src/misc2.c
parent065bbac8adfe29a09958570237d223457f235c6c (diff)
downloadvim-git-cf7164a088664961e7d70dd100c5874dc5ceb293.tar.gz
patch 7.4.1364v7.4.1364
Problem: The Win 16 code is not maintained and unused. Solution: Remove the Win 16 support.
Diffstat (limited to 'src/misc2.c')
-rw-r--r--src/misc2.c8
1 files changed, 4 insertions, 4 deletions
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