diff --git a/aegisub/src/font_file_lister.cpp b/aegisub/src/font_file_lister.cpp index 9ebdc8e53..01fc16e77 100644 --- a/aegisub/src/font_file_lister.cpp +++ b/aegisub/src/font_file_lister.cpp @@ -44,12 +44,12 @@ #include #endif -#ifdef WITH_FREETYPE2 -#include "font_file_lister_freetype.h" -#define FontListerClass FreetypeFontFileLister -#elif defined(WITH_FONTCONFIG) +#ifdef WITH_FONTCONFIG #include "font_file_lister_fontconfig.h" #define FontListerClass FontConfigFontFileLister +#elif defined(WITH_FREETYPE2) +#include "font_file_lister_freetype.h" +#define FontListerClass FreetypeFontFileLister #else #include "font_file_lister.h" #endif