public: crtlib: fix error in COM_SlashPathFix
This commit is contained in:
parent
15ec6539e3
commit
4723eb2586
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue