comparison src/message.c @ 15840:734b1928a5aa v8.1.0927

patch 8.1.0927: USE_CR is never defined commit https://github.com/vim/vim/commit/00590740081489db69f43d9f1c0e3f70e29ce6da Author: Bram Moolenaar <Bram@vim.org> Date: Fri Feb 15 21:06:09 2019 +0100 patch 8.1.0927: USE_CR is never defined Problem: USE_CR is never defined. Solution: Remove usage of USE_CR. (Ken Takata, closes https://github.com/vim/vim/issues/3958)
author Bram Moolenaar <Bram@vim.org>
date Fri, 15 Feb 2019 21:15:07 +0100
parents 6733b8b1caf3
children 7fad90423bd2
comparison
equal deleted inserted replaced
15839:ed6ecf44dbaf 15840:734b1928a5aa
2588 2588
2589 buf = alloc(n + 3); 2589 buf = alloc(n + 3);
2590 memcpy(buf, p, n); 2590 memcpy(buf, p, n);
2591 if (!info_message) 2591 if (!info_message)
2592 buf[n++] = CAR; 2592 buf[n++] = CAR;
2593 #ifdef USE_CR 2593 buf[n++] = NL;
2594 else
2595 #endif
2596 buf[n++] = NL;
2597 buf[n++] = NUL; 2594 buf[n++] = NUL;
2598 if (info_message) // informative message, not an error 2595 if (info_message) // informative message, not an error
2599 mch_msg((char *)buf); 2596 mch_msg((char *)buf);
2600 else 2597 else
2601 mch_errmsg((char *)buf); 2598 mch_errmsg((char *)buf);