mirror of
https://github.com/neovim/neovim.git
synced 2024-12-24 13:15:09 -07:00
eval: re-remove USE_CR #1002
It was already removed in 01ca460
and I erroneously introduced it again in
PR #978.
This commit is contained in:
parent
4bebbaa572
commit
5f9fb6ed64
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user