[vlc-commits] freetype: better simplification (thanks to rem).
Rémi Duraffort
git at videolan.org
Sun May 15 10:51:34 CEST 2011
vlc | branch: master | Rémi Duraffort <ivoire at videolan.org> | Sun May 15 10:50:03 2011 +0200| [356dd52e7b72c847e85cd675421556c235828220] | committer: Rémi Duraffort
freetype: better simplification (thanks to rem).
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=356dd52e7b72c847e85cd675421556c235828220
---
modules/misc/text_renderer/freetype.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/modules/misc/text_renderer/freetype.c b/modules/misc/text_renderer/freetype.c
index cf366a3..aad1d26 100644
--- a/modules/misc/text_renderer/freetype.c
+++ b/modules/misc/text_renderer/freetype.c
@@ -357,7 +357,7 @@ static int Create( vlc_object_t *p_this )
psz_fontfamily = strdup( DEFAULT_FAMILY );
#else
# ifdef WIN32
- if( asprintf( &psz_fontfamily, "%s%s", p_sys->psz_win_fonts_path, DEFAULT_FONT_FILE ) == -1 )
+ if( asprintf( &psz_fontfamily, "%s"DEFAULT_FONT_FILE, p_sys->psz_win_fonts_path ) == -1 )
goto error;
# else
psz_fontfamily = strdup( DEFAULT_FONT_FILE );
More information about the vlc-commits
mailing list