Just use \n for newline

Fixes issues with extra blank lines in CSV on some platforms
This commit is contained in:
Jon Evans 2023-09-27 15:46:23 -04:00
parent c97db9b6c4
commit 017dafc8e3
1 changed files with 1 additions and 1 deletions

View File

@ -853,7 +853,7 @@ wxString FIELDS_EDITOR_GRID_DATA_MODEL::Export( const BOM_FMT_PRESET& settings )
settings.stringDelimiter + settings.stringDelimiter );
return settings.stringDelimiter + field + settings.stringDelimiter
+ ( last ? wxString( wxS( "\r\n" ) ) : settings.fieldDelimiter );
+ ( last ? wxString( wxS( "\n" ) ) : settings.fieldDelimiter );
};
// Column names