mirror of
https://github.com/id-Software/DOOM-3-BFG.git
synced 2024-12-03 09:22:45 +00:00
Fixed stupid backslashes bug in idFileSystemLocal::CreateOSPath()
This commit is contained in:
parent
b848312904
commit
6c4590d8d4
1 changed files with 6 additions and 0 deletions
|
@ -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 )
|
||||
|
|
Loading…
Reference in a new issue