diff options
author | Martin Algesten <martin@algesten.se> | 2017-05-14 10:47:09 +0200 |
---|---|---|
committer | Joe Wilm <jwilm@users.noreply.github.com> | 2017-05-31 09:30:54 -0700 |
commit | dafa4ccde9ea233b5212018cf0d87425ac4f78a0 (patch) | |
tree | 66c7ffa18dc0ef1fb72570f92a0efd3590968632 /font/src/darwin/mod.rs | |
parent | c1ab0042d4b0fa0ff2638d1c6e46d290a8e55b73 (diff) | |
download | alacritty-dafa4ccde9ea233b5212018cf0d87425ac4f78a0.tar.gz alacritty-dafa4ccde9ea233b5212018cf0d87425ac4f78a0.zip |
updated some font deps
Diffstat (limited to 'font/src/darwin/mod.rs')
-rw-r--r-- | font/src/darwin/mod.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/font/src/darwin/mod.rs b/font/src/darwin/mod.rs index 3ced7524..d5c65b50 100644 --- a/font/src/darwin/mod.rs +++ b/font/src/darwin/mod.rs @@ -285,7 +285,7 @@ pub fn descriptors_for_family(family: &str) -> Vec<Descriptor> { font_name: desc.font_name(), style_name: desc.style_name(), display_name: desc.display_name(), - font_path: desc.font_path(), + font_path: desc.font_path().unwrap_or_else(||{"".to_owned()}), ct_descriptor: desc, }); } |