diff options
| -rw-r--r-- | src/CellBuffer.cxx | 3 | 
1 files changed, 1 insertions, 2 deletions
diff --git a/src/CellBuffer.cxx b/src/CellBuffer.cxx index 7bb96ca76..872616c21 100644 --- a/src/CellBuffer.cxx +++ b/src/CellBuffer.cxx @@ -531,9 +531,8 @@ void CellBuffer::ResetLineEnds() {  	lv.InsertText(lineInsert-1, length);  	unsigned char chBeforePrev = 0;  	unsigned char chPrev = 0; -	unsigned char ch = ' ';  	for (int i = 0; i < length; i++) { -		ch = substance.ValueAt(position + i); +		unsigned char ch = substance.ValueAt(position + i);  		if (ch == '\r') {  			InsertLine(lineInsert, (position + i) + 1, atLineStart);  			lineInsert++;  | 
