Fuji/Source/Util.cpp
char *ModuleName(char *pSourceFileName)
{
	int x = (int)MFString_Length(pSourceFileName)-1;

	while(x >= 0 && pSourceFileName[x] != '/' && pSourceFileName[x] != '\\')
	{
		--x;
	}

	return x == -1 ? pSourceFileName : &pSourceFileName[x+1];
}
// Return only the last portion of the module name (exclude the path)

Return only the last portion of the module name (exclude the path)
Return only the last portion of the module name ( exclude the path )
char *ModuleName(char *pSourceFileName)
{
	int x = (int)MFString_Length(pSourceFileName)-1;
	while(x >= 0 && pSourceFileName[x] != '/' && pSourceFileName[x] != '\\')
	{
		--x;
	}
	return x == -1 ? pSourceFileName : &pSourceFileName[x+1];
}
char * ModuleName ( char * pSourceFileName ) { int x = ( int ) MFString_Length ( pSourceFileName ) - 1 ; while ( x >= 0 && pSourceFileName [ x ] != ' ' && pSourceFileName [ x ] != ' \\ ' ) { -- x ; } return x == -1 ? pSourceFileName : & pSourceFileName [ x + 1 ] ; }
Return only the last portion of the module name (exclude the path)
Return only the last portion of the module name ( exclude the path )