This commit is contained in:
Kevin Sawicki
2013-01-27 22:41:07 -08:00
parent f6fe2bdc97
commit bd3493987b

View File

@@ -33,7 +33,7 @@ class BufferChangeOperation
lineEndings = []
for line, index in lines
if _.endsWith(line, '\r')
lines[index] = line[0..-2]
lines[index] = line[...-1]
lineEndings[index] = '\r\n'
else
lineEndings[index] = '\n'