1
1
mirror of https://github.com/wez/wezterm.git synced 2024-12-11 15:14:16 +03:00

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

This commit is contained in:
Wez Furlong 2020-02-14 12:38:04 -08:00
parent ff210a1c8e
commit 2522b276cc

View File

@ -119,7 +119,7 @@ impl ParsedFont {
break; 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); log::error!("Did not locate a font match for {:?}", attr);
} }