win32: fix handling of forward slashes

master
Kanibal 2018-03-15 23:44:49 +01:00
parent 3da209462e
commit f24d685a47
1 changed files with 1 additions and 1 deletions

View File

@ -519,7 +519,7 @@ bool C4Group::Open(const char *szGroupName, bool fCreate)
char szGroupNameN[_MAX_FNAME];
SCopy(szGroupName,szGroupNameN,_MAX_FNAME);
// Convert to native path
SReplaceChar(szGroupNameN, '\\', DirectorySeparator);
SReplaceChar(szGroupNameN, AltDirectorySeparator, DirectorySeparator);
// Real reference
if (FileExists(szGroupNameN))