Commit 612a1f1d authored by Bernie Purcell's avatar Bernie Purcell

Fix issue with Fontconfig freezing during init of freetype, and

causing segfault on Windows platform
parent bb05ac4f
...@@ -53,8 +53,8 @@ ...@@ -53,8 +53,8 @@
+ +
+ return p_dir_in; + return p_dir_in;
+ } + }
+ if( *p_dir_out[ strlen( *p_dir_out ) - 1 ] != '\\' ) + if( (*p_dir_out)[ rc - 1 ] != '\\' )
+ strcat( *p_dir_out, "\\" ); + strcpy( (*p_dir_out)+rc, "\\" );
+ strcat( *p_dir_out, "fonts" ); + strcat( *p_dir_out, "fonts" );
+ +
+ return *p_dir_out; + return *p_dir_out;
......
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