comparison src/misc2.c @ 13575:4df23d9bad47 v8.0.1660

patch 8.0.1660: the terminal API "drop" command doesn't support options commit https://github.com/vim/vim/commit/333b80acf3a44e462456e6d5730e47ffa449c83d Author: Bram Moolenaar <Bram@vim.org> Date: Wed Apr 4 22:57:29 2018 +0200 patch 8.0.1660: the terminal API "drop" command doesn't support options Problem: The terminal API "drop" command doesn't support options. Solution: Implement the options.
author Christian Brabandt <cb@256bit.org>
date Wed, 04 Apr 2018 23:00:07 +0200
parents 96de13023cad
children 260256caac38
comparison
equal deleted inserted replaced
13574:73c69063091f 13575:4df23d9bad47
3159 exarg_T *eap) /* can be NULL! */ 3159 exarg_T *eap) /* can be NULL! */
3160 { 3160 {
3161 int c; 3161 int c;
3162 3162
3163 if (eap != NULL && eap->force_ff != 0) 3163 if (eap != NULL && eap->force_ff != 0)
3164 c = eap->cmd[eap->force_ff]; 3164 c = eap->force_ff;
3165 else 3165 else
3166 { 3166 {
3167 if ((eap != NULL && eap->force_bin != 0) 3167 if ((eap != NULL && eap->force_bin != 0)
3168 ? (eap->force_bin == FORCE_BIN) : buf->b_p_bin) 3168 ? (eap->force_bin == FORCE_BIN) : buf->b_p_bin)
3169 return EOL_UNIX; 3169 return EOL_UNIX;