Altium: fix multiline text with Windows line endings
This commit is contained in:
parent
a81286d9ea
commit
b5dffa8229
|
@ -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() )
|
||||
|
|
Loading…
Reference in New Issue