[vlc-commits] freetype: use redefined resources instead of arbitrary defaults
Francois Cartegnie
git at videolan.org
Tue Jul 7 20:34:04 CEST 2020
vlc | branch: master | Francois Cartegnie <fcvlcdev at free.fr> | Thu Jun 25 17:03:44 2020 +0200| [dd6951c938853fb749be6aa35474d44e5a8fa124] | committer: Francois Cartegnie
freetype: use redefined resources instead of arbitrary defaults
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=dd6951c938853fb749be6aa35474d44e5a8fa124
---
modules/text_renderer/freetype/platform_fonts.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/modules/text_renderer/freetype/platform_fonts.c b/modules/text_renderer/freetype/platform_fonts.c
index 809d06c648..f6baa8cb42 100644
--- a/modules/text_renderer/freetype/platform_fonts.c
+++ b/modules/text_renderer/freetype/platform_fonts.c
@@ -565,7 +565,7 @@ char* Generic_Select( filter_t *p_filter, const char* psz_family,
p_family = p_sys->pf_get_family( p_filter, psz_family );
if( !p_family || !p_family->p_fonts )
- p_family = p_sys->pf_get_family( p_filter, SYSTEM_DEFAULT_FAMILY );
+ p_family = p_sys->pf_get_family( p_filter, DEFAULT_FAMILY );
vlc_font_t *p_font;
if( p_family && ( p_font = GetBestFont( p_filter, p_family, b_bold,
@@ -575,7 +575,7 @@ char* Generic_Select( filter_t *p_filter, const char* psz_family,
return strdup( p_font->psz_fontfile );
}
- return File_Select( SYSTEM_DEFAULT_FONT_FILE );
+ return File_Select( DEFAULT_FONT_FILE );
}
#if !defined(_WIN32) || VLC_WINSTORE_APP
More information about the vlc-commits
mailing list