X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/6fea4a7a22b5a744e6a959412ac5a782dcb37ea5..31a06b07cce898a22d0ca3992501e85da9c22f13:/src/unix/fontenum.cpp 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