Skip to content

Commit

Permalink
fix build; last commit passed cargo check but not cargo build!?
Browse files Browse the repository at this point in the history
  • Loading branch information
wez committed Jul 14, 2022
1 parent df6a666 commit 53aef1a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion wezterm-font/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -396,12 +396,13 @@ impl FallbackResolveInfo {
.map(|c| std::char::from_u32(c).unwrap_or(' '))
.collect::<String>();

let current_gen = self.config.generation();
let show_warning = self.config.warn_about_missing_glyphs
&& LAST_WARNING
.lock()
.unwrap()
.map(|(instant, generation)| {
generation != self.config.generation()
generation != current_gen
|| instant.elapsed() > Duration::from_secs(60 * 60)
})
.unwrap_or(true);
Expand Down

0 comments on commit 53aef1a

Please sign in to comment.