aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/eval.c
diff options
context:
space:
mode:
authorNicolas Hillegeer <nicolas@hillegeer.com>2014-07-28 09:18:14 +0200
committerJustin M. Keyes <justinkz@gmail.com>2014-07-30 18:10:18 -0400
commit5f9fb6ed6433620d1091af8f83cd9b5e8324ffa2 (patch)
treeb57c60b3d1bdbba4e34d3f27712edcfab7294805 /src/nvim/eval.c
parent4bebbaa57245c9bdb78c02a97622b4efc5899dbb (diff)
downloadrneovim-5f9fb6ed6433620d1091af8f83cd9b5e8324ffa2.tar.gz
rneovim-5f9fb6ed6433620d1091af8f83cd9b5e8324ffa2.tar.bz2
rneovim-5f9fb6ed6433620d1091af8f83cd9b5e8324ffa2.zip
eval: re-remove USE_CR #1002
It was already removed in 01ca460 and I erroneously introduced it again in PR #978.
Diffstat (limited to 'src/nvim/eval.c')
-rw-r--r--src/nvim/eval.c11
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;