From 612a1f1dcbb7dc92a14aa251a5a59654f3b03934 Mon Sep 17 00:00:00 2001 From: Bernie Purcell Date: Sun, 17 Feb 2008 07:51:21 +0000 Subject: [PATCH] Fix issue with Fontconfig freezing during init of freetype, and causing segfault on Windows platform --- extras/contrib/src/Patches/fontconfig.patch | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/extras/contrib/src/Patches/fontconfig.patch b/extras/contrib/src/Patches/fontconfig.patch index cc1a030765..e94cacf670 100644 --- a/extras/contrib/src/Patches/fontconfig.patch +++ b/extras/contrib/src/Patches/fontconfig.patch @@ -53,8 +53,8 @@ + + return p_dir_in; + } -+ if( *p_dir_out[ strlen( *p_dir_out ) - 1 ] != '\\' ) -+ strcat( *p_dir_out, "\\" ); ++ if( (*p_dir_out)[ rc - 1 ] != '\\' ) ++ strcpy( (*p_dir_out)+rc, "\\" ); + strcat( *p_dir_out, "fonts" ); + + return *p_dir_out; -- 2.39.5