Browse Source

text boxes: remember to add the original newline characters back in!

Fixes https://gitlab.com/kicad/code/kicad/-/issues/10665
7.0
Roberto Fernandez Bautista 4 years ago
parent
commit
8393e02524
  1. 4
      common/font/font.cpp

4
common/font/font.cpp

@ -473,6 +473,10 @@ void FONT::LinebreakText( wxString& aText, int aColumnWidth, const VECTOR2I& aSi
jj++;
}
// Add the newlines back onto the string
if( ii != ( textLines.Count() - 1 ) )
aText += '\n';
}
}

Loading…
Cancel
Save