// passed as first argument: if it is a wide string, then %c
// expects "wchar_t *" matching parameter under MSW for example.
if ( sscanf(str.c_str() + 4,
// passed as first argument: if it is a wide string, then %c
// expects "wchar_t *" matching parameter under MSW for example.
if ( sscanf(str.c_str() + 4,
&red, &green, &blue, alphaPtr) != 4 )
return false;
&red, &green, &blue, alphaPtr) != 4 )
return false;