X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/6fea4a7a22b5a744e6a959412ac5a782dcb37ea5..24a7a1980f309763c349541daffa46f1a5fd16b2:/src/unix/fontenum.cpp?ds=sidebyside diff --git a/src/unix/fontenum.cpp b/src/unix/fontenum.cpp index d89102efb2..63bcf5c4fc 100644 --- a/src/unix/fontenum.cpp +++ b/src/unix/fontenum.cpp @@ -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