summaryrefslogtreecommitdiff
path: root/src/message.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2019-02-15 21:06:09 +0100
committerBram Moolenaar <Bram@vim.org>2019-02-15 21:06:09 +0100
commit00590740081489db69f43d9f1c0e3f70e29ce6da (patch)
tree5200046e5c39885c50b5057cca9110975a629eb5 /src/message.c
parente93e5a504f481bd0dad9c504d5fcf0e5f0dfc6e6 (diff)
downloadvim-git-00590740081489db69f43d9f1c0e3f70e29ce6da.tar.gz
patch 8.1.0927: USE_CR is never definedv8.1.0927
Problem: USE_CR is never defined. Solution: Remove usage of USE_CR. (Ken Takata, closes #3958)
Diffstat (limited to 'src/message.c')
-rw-r--r--src/message.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/message.c b/src/message.c
index 82772fdbc..ed59d1b43 100644
--- a/src/message.c
+++ b/src/message.c
@@ -2590,10 +2590,7 @@ msg_puts_printf(char_u *str, int maxlen)
memcpy(buf, p, n);
if (!info_message)
buf[n++] = CAR;
-#ifdef USE_CR
- else
-#endif
- buf[n++] = NL;
+ buf[n++] = NL;
buf[n++] = NUL;
if (info_message) // informative message, not an error
mch_msg((char *)buf);