mirror of
https://github.com/YGGverse/xash3d-fwgs.git
synced 2025-01-10 23:27:53 +00:00
public: crtlib: fix error in COM_SlashPathFix
This commit is contained in:
parent
15ec6539e3
commit
4723eb2586
@ -936,7 +936,7 @@ void COM_PathSlashFix( char *path )
|
||||
|
||||
len = Q_strlen( path );
|
||||
|
||||
if( path[len - 1] != '\\' || path[len - 1] != '/' )
|
||||
if( path[len - 1] != '\\' && path[len - 1] != '/' )
|
||||
Q_strcpy( &path[len], "/" );
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user