Browse Source

public: crtlib: fix error in COM_SlashPathFix

pull/2/head
Alibek Omarov 3 years ago
parent
commit
4723eb2586
  1. 2
      public/crtlib.c

2
public/crtlib.c

@ -936,7 +936,7 @@ void COM_PathSlashFix( char *path ) @@ -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…
Cancel
Save