tier1/strtools.cpp
void V_FixupPathName( char *pOut, int nOutLen, const char *pPath )
{
	V_strncpy( pOut, pPath, nOutLen );
	V_FixSlashes( pOut );
	V_RemoveDotSlashes( pOut );
	V_FixDoubleSlashes( pOut );
	V_strlower( pOut );
}
//-----------------------------------------------------------------------------
// Fixes up a file name, removing dot slashes, fixing slashes, converting to lowercase, etc.
//-----------------------------------------------------------------------------
Fixes up a file name, removing dot slashes, fixing slashes, converting to lowercase, etc.
Fixes up a file name removing dot slashes fixing slashes converting to lowercase etc .
void V_FixupPathName( char *pOut, int nOutLen, const char *pPath )
{
	V_strncpy( pOut, pPath, nOutLen );
	V_FixSlashes( pOut );
	V_RemoveDotSlashes( pOut );
	V_FixDoubleSlashes( pOut );
	V_strlower( pOut );
}
void V_FixupPathName ( char * pOut , int nOutLen , const char * pPath ) { V_strncpy ( pOut , pPath , nOutLen ) ; V_FixSlashes ( pOut ) ; V_RemoveDotSlashes ( pOut ) ; V_FixDoubleSlashes ( pOut ) ; V_strlower ( pOut ) ; }
Fixes up a file name, removing dot slashes, fixing slashes, converting to lowercase, etc.
Fixes up a file name removing dot slashes fixing slashes converting to lowercase etc .