src/ui-event.c
static int dehex(char c)
{
	if (isdigit((unsigned char)c)) return (D2I(c));
	if (isalpha((unsigned char)c)) return (A2I(tolower((unsigned char)c)) + 10);
	return (0);
}
/**
 * Convert a hexidecimal-digit into a decimal
 */
Convert a hexidecimal-digit into a decimal
Convert a hexidecimal - digit into a decimal
static int dehex(char c)
{
	if (isdigit((unsigned char)c)) return (D2I(c));
	if (isalpha((unsigned char)c)) return (A2I(tolower((unsigned char)c)) + 10);
	return (0);
}
static int dehex ( char c ) { if ( isdigit ( ( unsigned char ) c ) ) return ( D2I ( c ) ) ; if ( isalpha ( ( unsigned char ) c ) ) return ( A2I ( tolower ( ( unsigned char ) c ) ) + 10 ) ; return ( 0 ) ; }
Convert a hexidecimal-digit into a decimal
Convert a hexidecimal - digit into a decimal