X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/6fea4a7a22b5a744e6a959412ac5a782dcb37ea5..4d293f8ef41f405a8ea389ac3e00c0e268e4e305:/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