1
1
mirror of https://github.com/wez/wezterm.git synced 2024-11-23 23:21:08 +03:00

really fixup win32 build

This commit is contained in:
Wez Furlong 2021-04-09 14:16:23 -07:00
parent ac04076827
commit 18061bb47c

View File

@ -146,9 +146,10 @@ fn handle_from_descriptor(
log::debug!("{} -> {}", family_name, path.display()); log::debug!("{} -> {}", family_name, path.display());
let source = FontDataSource::OnDisk(path); let source = FontDataSource::OnDisk(path);
match best_matching_font(&source, attr) { match best_matching_font(&source, attr) {
Ok(parsed) => { Ok(Some(parsed)) => {
return Some(parsed); return Some(parsed);
} }
Ok(None) => {}
Err(err) => log::warn!("While parsing: {:?}: {:#}", source, err), Err(err) => log::warn!("While parsing: {:?}: {:#}", source, err),
} }
} }