]> git.saurik.com Git - wxWidgets.git/blobdiff - src/unix/fontenum.cpp
minor additions to wxCmdLineParser tests
[wxWidgets.git] / src / unix / fontenum.cpp
index d89102efb237ceea6be0a6af8f9eb427dfc115cc..63bcf5c4fccfa7a144b5c91ccb0a5a8a220d1194 100644 (file)
@@ -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