From fa4bbbd077837d4eafe26805079f95a51054c4d7 Mon Sep 17 00:00:00 2001 From: Wez Furlong Date: Sat, 16 Jan 2021 08:47:36 -0800 Subject: [PATCH] ugh, fix stupid formatting syntax error refs: https://github.com/wez/wezterm/issues/428 --- wezterm-gui/src/gui/termwindow.rs | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/wezterm-gui/src/gui/termwindow.rs b/wezterm-gui/src/gui/termwindow.rs index 012cdfbed..3f82b9aca 100644 --- a/wezterm-gui/src/gui/termwindow.rs +++ b/wezterm-gui/src/gui/termwindow.rs @@ -2139,11 +2139,13 @@ impl TermWindow { let theoretical_height = font_size * dimensions.dpi as f64 / 72.0; if theoretical_height < 2.0 { - log::warn!("refusing to go to an unreasonably small font scale {:?} " - "font_scale={} would yield font_height {}", - dimensions, - font_scale, - theoretical_height); + log::warn!( + "refusing to go to an unreasonably small font scale {:?} + font_scale={} would yield font_height {}", + dimensions, + font_scale, + theoretical_height + ); return; }