From a400800b5478305ea05b669e16c7b6277ea4c289 Mon Sep 17 00:00:00 2001 From: Thomas Goyne Date: Thu, 12 Aug 2010 01:12:00 +0000 Subject: [PATCH] Remove the override for fonts.conf location on Windows as the default is close enough to sensible. Originally committed to SVN as r4731. --- aegisub/src/subtitles_provider_libass.cpp | 4 ---- 1 file changed, 4 deletions(-) diff --git a/aegisub/src/subtitles_provider_libass.cpp b/aegisub/src/subtitles_provider_libass.cpp index 135ed7b9a..6bc0e3a00 100644 --- a/aegisub/src/subtitles_provider_libass.cpp +++ b/aegisub/src/subtitles_provider_libass.cpp @@ -109,10 +109,6 @@ LibassSubtitlesProvider::LibassSubtitlesProvider(std::string) { config_dir = OSX_GetBundleResourcesDirectory(); snprintf(config_path, MAXPATHLEN, "%s/etc/fonts/fonts.conf", config_dir); free(config_dir); -#elif defined(_WIN32) - wxString config_file = StandardPaths::DecodePath(L"?user/fonts/fonts.conf"); - char config_path[MAX_PATH]; - strcpy_s(config_path, sizeof config_path, config_file.utf8_str()); #else const char *config_path = NULL; #endif