X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/f1d7cbac4369e180a8d7c19f386b301196d09369..bb6de5ffad98697205287a04fe91ca73e7194709:/src/unix/fontenum.cpp diff --git a/src/unix/fontenum.cpp b/src/unix/fontenum.cpp index c68984623b..63bcf5c4fc 100644 --- a/src/unix/fontenum.cpp +++ b/src/unix/fontenum.cpp @@ -23,8 +23,8 @@ #include "wx/defs.h" #include "wx/dynarray.h" -#include "wx/regex.h" #include "wx/string.h" +#include "wx/regex.h" #include "wx/utils.h" #include "wx/fontmap.h" @@ -106,7 +106,7 @@ static bool ProcessFamiliesFromFontList(wxFontEnumerator *This, { char *font = fonts[n]; #if wxUSE_REGEX - if ( re.Matches(font) ) + if ( !re.Matches(font) ) #else // !wxUSE_REGEX if ( !wxString(font).Matches(wxT("-*-*-*-*-*-*-*-*-*-*-*-*-*-*")) ) #endif // wxUSE_REGEX/!wxUSE_REGEX