vgui2/src/Scheme.cpp
const char *CScheme::GetMungedFontName( const char *fontName, const char *scheme, bool proportional )
{
	static char mungeBuffer[ 64 ];
	if ( scheme )
	{
		Q_snprintf( mungeBuffer, sizeof( mungeBuffer ), "%s%s-%s", fontName, scheme, proportional ? "p" : "no" );
	}
	else
	{ 
		Q_snprintf( mungeBuffer, sizeof( mungeBuffer ), "%s-%s", fontName, proportional ? "p" : "no" ); // we don't want the "(null)" snprintf appends
	}
	return mungeBuffer;
}
//-----------------------------------------------------------------------------
// Purpose: returns a char string of the munged name this font is stored as in the font manager
//-----------------------------------------------------------------------------
returns a char string of the munged name this font is stored as in the font manager
returns a char string of the munged name this font is stored as in the font manager
const char *CScheme::GetMungedFontName( const char *fontName, const char *scheme, bool proportional )
{
	static char mungeBuffer[ 64 ];
	if ( scheme )
	{
		Q_snprintf( mungeBuffer, sizeof( mungeBuffer ), "%s%s-%s", fontName, scheme, proportional ? "p" : "no" );
	}
	else
	{ 
		Q_snprintf( mungeBuffer, sizeof( mungeBuffer ), "%s-%s", fontName, proportional ? "p" : "no" ); 
	}
	return mungeBuffer;
}
const char * CScheme :: GetMungedFontName ( const char * fontName , const char * scheme , bool proportional ) { static char mungeBuffer [ 64 ] ; if ( scheme ) { Q_snprintf ( mungeBuffer , sizeof ( mungeBuffer ) , " " , fontName , scheme , proportional ? " " : " " ) ; } else { Q_snprintf ( mungeBuffer , sizeof ( mungeBuffer ) , " " , fontName , proportional ? " " : " " ) ; } return mungeBuffer ; }
Purpose: returns a char string of the munged name this font is stored as in the font manager
Purpose : returns a char string of the munged name this font is stored as in the font manager
// we don't want the "(null)" snprintf appends