Commit bff9fe06 authored by Mark Moriarty's avatar Mark Moriarty

freetype.c -- set default font color (white)

parent e1381cf7
......@@ -215,7 +215,7 @@ static int Create( vlc_object_t *p_this )
p_sys->i_font_opacity = __MAX( __MIN( val.i_int, 255 ), 0 );
var_Create( p_filter, "freetype-color", VLC_VAR_INTEGER | VLC_VAR_DOINHERIT );
var_Get( p_filter, "freetype-color", &val );
if ( ( val.i_int > -1 ) && ( val.i_int < 0x00FFFFFF ) ) /* valid range */
if ( ( val.i_int > -1 ) && ( val.i_int < 0x01000000 ) ) /* valid range */
{
p_sys->i_font_color = val.i_int;
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment