Altium: fix multiline text with Windows line endings

This commit is contained in:
Jon Evans 2020-05-09 14:29:02 -04:00
parent a81286d9ea
commit b5dffa8229
1 changed files with 3 additions and 0 deletions

View File

@ -889,6 +889,9 @@ ATEXT6::ATEXT6( ALTIUM_PARSER& aReader )
text = aReader.ReadWxString(); // TODO: what about strings with length > 255?
// Normalize Windows line endings
text.Replace( "\r\n", "\n" );
aReader.SkipSubrecord();
if( aReader.HasParsingError() )