text boxes: remember to add the original newline characters back in!
Fixes https://gitlab.com/kicad/code/kicad/-/issues/10665
This commit is contained in:
parent
6cf170c2c9
commit
8393e02524
|
@ -473,6 +473,10 @@ void FONT::LinebreakText( wxString& aText, int aColumnWidth, const VECTOR2I& aSi
|
||||||
|
|
||||||
jj++;
|
jj++;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Add the newlines back onto the string
|
||||||
|
if( ii != ( textLines.Count() - 1 ) )
|
||||||
|
aText += '\n';
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue