Skip to content
Snippets Groups Projects
Commit 765e8141 authored by deuce's avatar deuce
Browse files

When serializing the lines, make the last line end in a hard CR.

Fixes part one of the new word wrap bug.
parent 8406cad5
No related branches found
No related tags found
No related merge requests found
......@@ -964,6 +964,8 @@ function make_strings(soft,embed_colour)
var lastattr=7;
var thisattr;
// Force the last line to be a hard CR.
line[line.length-1].hardcr=true;
for(i=0; i<line.length; i++) {
if(embed_colour) {
for(j=0;j<line[i].text.length;j++) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment