X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/f1d7cbac4369e180a8d7c19f386b301196d09369..adac097759c089b3d47f48c7756ace4f0b8df879:/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