comparison src/ops.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 6f1c7e9a6393
children ddd82b1c9e9d
comparison
equal deleted inserted replaced
15839:ed6ecf44dbaf 15840:734b1928a5aa
6575 else if (y_ptr->y_array[lnum][j] == NUL) 6575 else if (y_ptr->y_array[lnum][j] == NUL)
6576 { 6576 {
6577 #ifdef USE_CRNL 6577 #ifdef USE_CRNL
6578 p[i++] = '\r'; 6578 p[i++] = '\r';
6579 #endif 6579 #endif
6580 #ifdef USE_CR
6581 p[i] = '\r';
6582 #else
6583 p[i] = '\n'; 6580 p[i] = '\n';
6584 #endif
6585 lnum++; 6581 lnum++;
6586 j = -1; 6582 j = -1;
6587 } 6583 }
6588 else 6584 else
6589 p[i] = y_ptr->y_array[lnum][j]; 6585 p[i] = y_ptr->y_array[lnum][j];