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