]> git.sesse.net Git - vlc/commitdiff
freetype.c -- set default font color (white)
authorMark Moriarty <markfm@videolan.org>
Sun, 27 Feb 2005 19:14:41 +0000 (19:14 +0000)
committerMark Moriarty <markfm@videolan.org>
Sun, 27 Feb 2005 19:14:41 +0000 (19:14 +0000)
modules/misc/freetype.c

index cfae002a5d630fa9ced5f3e84ad42da6689f4f40..8493d6007487591d33c0621ee97a4c717e78491d 100644 (file)
@@ -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;
     }