From 5f9fb6ed6433620d1091af8f83cd9b5e8324ffa2 Mon Sep 17 00:00:00 2001 From: Nicolas Hillegeer Date: Mon, 28 Jul 2014 09:18:14 +0200 Subject: [PATCH] eval: re-remove USE_CR #1002 It was already removed in 01ca460 and I erroneously introduced it again in PR #978. --- src/nvim/eval.c | 11 +---------- 1 file changed, 1 insertion(+), 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 into - if (res != NULL) { - for (char *s = res; *s; ++s) { - if (*s == CAR) { - *s = NL; - } - } - } -#elif defined(USE_CRNL) +#ifdef USE_CRNL // translate into if (res != NULL) { char *d = res;