src/Cedar/SW.c
// Get the icon for the language

Get the icon for the language
Get the icon for the language
UINT SwGetLangIcon(char* name)
{
	UINT ret = ICO_NULL;
	if (name == NULL)
	{
		return ICO_NULL;
	}
	if (StrCmpi(name, "ja") == 0)
	{
		ret = ICO_LANG_JAPANESE;
	}
	else if (StrCmpi(name, "en") == 0)
	{
		ret = ICO_LANG_ENGLISH;
	}
	else if (StrCmpi(name, "cn") == 0)
	{
		ret = ICO_LANG_CHINESE;
	}
	return ret;
}
UINT SwGetLangIcon ( char * name ) { UINT ret = ICO_NULL ; if ( name == NULL ) { return ICO_NULL ; } if ( StrCmpi ( name , " " ) == 0 ) { ret = ICO_LANG_JAPANESE ; } else if ( StrCmpi ( name , " " ) == 0 ) { ret = ICO_LANG_ENGLISH ; } else if ( StrCmpi ( name , " " ) == 0 ) { ret = ICO_LANG_CHINESE ; } return ret ; }
Get the icon for the language
Get the icon for the language
// Validate arguments
