Handle the files either skipped or not on windows.

This commit is contained in:
Jason Felds
2013-04-30 23:24:29 -04:00
parent 3d52695085
commit c7269b63ff
4 changed files with 835 additions and 839 deletions
+2 -3
View File
@@ -114,12 +114,11 @@ bool CsvFile::WriteFile( const RString &sPath ) const
bool CsvFile::WriteFile( RageFileBasic &f ) const
{
FOREACH_CONST( StringVector, m_vvs, line )
for (StringVector &line : m_vvs)
{
RString sLine;
FOREACH_CONST( RString, *line, value )
for (RString sVal : line) // explicitly don't use a reference.
{
RString sVal = *value;
sVal.Replace( "\"", "\"\"" ); // escape quotes to double-quotes
sLine += "\"" + sVal + "\"";
if( value != line->end()-1 )