Commit 9e3a4af5 authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

Freetype: unexport a function we don't need anymore on Win32

parent 783fdab8
...@@ -252,7 +252,7 @@ static int CALLBACK EnumFontCallback(const ENUMLOGFONTEX *lpelfe, const NEWTEXTM ...@@ -252,7 +252,7 @@ static int CALLBACK EnumFontCallback(const ENUMLOGFONTEX *lpelfe, const NEWTEXTM
return GetFileFontByName( (LPCTSTR)lpelfe->elfFullName, (char **)lParam ); return GetFileFontByName( (LPCTSTR)lpelfe->elfFullName, (char **)lParam );
} }
char* GetWindowsFontPath() static char* GetWindowsFontPath()
{ {
wchar_t wdir[MAX_PATH]; wchar_t wdir[MAX_PATH];
if( S_OK != SHGetFolderPathW( NULL, CSIDL_FONTS, NULL, SHGFP_TYPE_CURRENT, wdir ) ) if( S_OK != SHGetFolderPathW( NULL, CSIDL_FONTS, NULL, SHGFP_TYPE_CURRENT, wdir ) )
......
...@@ -86,7 +86,6 @@ void FontConfig_BuildCache( filter_t *p_filter ); ...@@ -86,7 +86,6 @@ void FontConfig_BuildCache( filter_t *p_filter );
#ifdef _WIN32 #ifdef _WIN32
char* GetWindowsFontPath();
char* Win32_Select( filter_t *p_filter, const char* family, char* Win32_Select( filter_t *p_filter, const char* family,
bool b_bold, bool b_italic, int i_size, int *i_idx ); bool b_bold, bool b_italic, int i_size, int *i_idx );
......
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