diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/nvim/eval.c | 11 | 
1 files changed, 1 insertions, 10 deletions
| diff --git a/src/nvim/eval.c b/src/nvim/eval.c index e2fee7af49..4537f91825 100644 --- a/src/nvim/eval.c +++ b/src/nvim/eval.c @@ -14099,16 +14099,7 @@ static void f_system(typval_T *argvars, typval_T *rettv)    set_vim_var_nr(VV_SHELL_ERROR, (long) status); -#if defined(USE_CR) -  // translate <CR> into <NL> -  if (res != NULL) { -    for (char *s = res; *s; ++s) { -      if (*s == CAR) { -        *s = NL; -      } -    } -  } -#elif defined(USE_CRNL) +#ifdef USE_CRNL    // translate <CR><NL> into <NL>    if (res != NULL) {      char *d = res; | 
