Mercurial > vim
comparison src/ex_cmds.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 | b67088aae933 |
children | 7b2f95633e28 |
comparison
equal
deleted
inserted
replaced
10263:b758a787983a | 10264:c036c0f636d5 |
---|---|
1173 int shell_flags = 0; | 1173 int shell_flags = 0; |
1174 | 1174 |
1175 if (*cmd == NUL) /* no filter command */ | 1175 if (*cmd == NUL) /* no filter command */ |
1176 return; | 1176 return; |
1177 | 1177 |
1178 #ifdef WIN3264 | |
1179 /* | |
1180 * Check if external commands are allowed now. | |
1181 */ | |
1182 if (can_end_termcap_mode(TRUE) == FALSE) | |
1183 return; | |
1184 #endif | |
1185 | |
1186 cursor_save = curwin->w_cursor; | 1178 cursor_save = curwin->w_cursor; |
1187 linecount = line2 - line1 + 1; | 1179 linecount = line2 - line1 + 1; |
1188 curwin->w_cursor.lnum = line1; | 1180 curwin->w_cursor.lnum = line1; |
1189 curwin->w_cursor.col = 0; | 1181 curwin->w_cursor.col = 0; |
1190 changed_line_abv_curs(); | 1182 changed_line_abv_curs(); |
1457 msg_end(); | 1449 msg_end(); |
1458 return; | 1450 return; |
1459 } | 1451 } |
1460 | 1452 |
1461 #ifdef MSWIN | 1453 #ifdef MSWIN |
1462 /* | |
1463 * Check if external commands are allowed now. | |
1464 */ | |
1465 if (can_end_termcap_mode(TRUE) == FALSE) | |
1466 return; | |
1467 | |
1468 /* | 1454 /* |
1469 * Check if ":!start" is used. | 1455 * Check if ":!start" is used. |
1470 */ | 1456 */ |
1471 if (cmd != NULL) | 1457 if (cmd != NULL) |
1472 winstart = (STRNICMP(cmd, "start ", 6) == 0); | 1458 winstart = (STRNICMP(cmd, "start ", 6) == 0); |