Just use \n for newline
Fixes issues with extra blank lines in CSV on some platforms
This commit is contained in:
parent
c97db9b6c4
commit
017dafc8e3
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue