fix inverted logic when warning about not finding a font in font_dirs
This commit is contained in:
1 parent
ff210a1c8e
commit
2522b276cc
1 file changed
+1
-1
+1
-1
@@ -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);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user