mirror of
https://github.com/YGGverse/xash3d-fwgs.git
synced 2025-01-22 12:54:13 +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 );
|
len = Q_strlen( path );
|
||||||
|
|
||||||
if( path[len - 1] != '\\' || path[len - 1] != '/' )
|
if( path[len - 1] != '\\' && path[len - 1] != '/' )
|
||||||
Q_strcpy( &path[len], "/" );
|
Q_strcpy( &path[len], "/" );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user