Mercurial > vim
comparison src/ex_docmd.c @ 8212:05b88224cea1 v7.4.1399
commit https://github.com/vim/vim/commit/48e330aff911be1c798c88a973af6437a8141fce
Author: Bram Moolenaar <Bram@vim.org>
Date: Tue Feb 23 14:53:34 2016 +0100
patch 7.4.1399
Problem: The MS-DOS code does not build.
Solution: Remove the old MS-DOS code.
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Tue, 23 Feb 2016 15:00:08 +0100 |
parents | 6b0891de44a9 |
children | 74b15ed0a259 |
comparison
equal
deleted
inserted
replaced
8211:6116980b4cfa | 8212:05b88224cea1 |
---|---|
3756 xp->xp_context = EXPAND_SHELLCMD; | 3756 xp->xp_context = EXPAND_SHELLCMD; |
3757 } | 3757 } |
3758 | 3758 |
3759 /* Check for environment variable */ | 3759 /* Check for environment variable */ |
3760 if (*xp->xp_pattern == '$' | 3760 if (*xp->xp_pattern == '$' |
3761 #if defined(MSDOS) || defined(MSWIN) | 3761 #if defined(MSWIN) |
3762 || *xp->xp_pattern == '%' | 3762 || *xp->xp_pattern == '%' |
3763 #endif | 3763 #endif |
3764 ) | 3764 ) |
3765 { | 3765 { |
3766 for (p = xp->xp_pattern + 1; *p != NUL; ++p) | 3766 for (p = xp->xp_pattern + 1; *p != NUL; ++p) |