From 2522b276cc3e2d2240032c6f3c1aa1111dff9e63 Mon Sep 17 00:00:00 2001 From: Wez Furlong Date: Fri, 14 Feb 2020 12:38:04 -0800 Subject: [PATCH] fix inverted logic when warning about not finding a font in font_dirs --- src/font/parser.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); }