engine/EngineCommon.c
/*  Switches the given path to lowercase (solves issues on Linux).
*/
Switches the given path to lowercase (solves issues on Linux).
Switches the given path to lowercase ( solves issues on Linux ) .
void FileSystem_UpdatePath(char cPath[])
{
	int i, iLength;
	iLength = strlen(cPath);
	for (i = 0; i < iLength; i++)
	{
		if (cPath[i] == ' ')
			break;
		cPath[i] = tolower(cPath[i]);
	}
}
void FileSystem_UpdatePath ( char cPath [ ] ) { int i , iLength ; iLength = strlen ( cPath ) ; for ( i = 0 ; i < iLength ; i ++ ) { if ( cPath [ i ] == ' ' ) break ; cPath [ i ] = tolower ( cPath [ i ] ) ; } }
Switches the given path to lowercase (solves issues on Linux).
Switches the given path to lowercase ( solves issues on Linux ) .
// Probably the end, or a messed up path. // Switch it around.