fix inverted logic when warning about not finding a font in font_dirs

This commit is contained in:
Wez Furlong committed 2020-02-14 12:38:04 -08:00
1 parent ff210a1c8e
commit 2522b276cc
1 file changed
+1 -1
+1 -1
View File
@@ -119,7 +119,7 @@ impl ParsedFont {
break;
}
}
if !found && FontLocatorSelection::get_default() != FontLocatorSelection::ConfigDirsOnly
if !found && FontLocatorSelection::get_default() == FontLocatorSelection::ConfigDirsOnly
{
log::error!("Did not locate a font match for {:?}", attr);
}