Fixed stupid backslashes bug in idFileSystemLocal::CreateOSPath()

This commit is contained in:
Robert Beckebans 2012-12-12 00:36:07 +01:00
parent b848312904
commit 6c4590d8d4

View file

@ -633,7 +633,13 @@ void idFileSystemLocal::CreateOSPath( const char* OSPath )
}
idStrStatic< MAX_OSPATH > path( OSPath );
// RB begin
#if defined(_WIN32)
path.SlashesToBackSlashes();
#endif
// RB end
for( ofs = &path[ 1 ]; *ofs ; ofs++ )
{
if( *ofs == PATHSEPARATOR_CHAR )