Fixed according to KiCad Style Guide.
This commit is contained in:
parent
aed0352828
commit
38f18d0505
|
@ -363,7 +363,7 @@ bool DIALOG_TEXT_PROPERTIES::TransferDataFromWindow()
|
||||||
// On macOS CTRL+Enter produces '\r' instead of '\n' regardless of EOL setting.
|
// On macOS CTRL+Enter produces '\r' instead of '\n' regardless of EOL setting.
|
||||||
// Replace it now.
|
// Replace it now.
|
||||||
txt.Replace( "\r", "\n" );
|
txt.Replace( "\r", "\n" );
|
||||||
#elif defined(__WINDOWS__)
|
#elif defined( __WINDOWS__ )
|
||||||
// On Windows, a new line is coded as \r\n. We use only \n in kicad files and in
|
// On Windows, a new line is coded as \r\n. We use only \n in kicad files and in
|
||||||
// drawing routines so strip the \r char.
|
// drawing routines so strip the \r char.
|
||||||
txt.Replace( "\r", "" );
|
txt.Replace( "\r", "" );
|
||||||
|
|
Loading…
Reference in New Issue