diff --git a/src/font/parser.rs b/src/font/parser.rs index 2fa31e8ae..5e1faaafa 100644 --- a/src/font/parser.rs +++ b/src/font/parser.rs @@ -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); }