aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorkumattau <kumattau@gmail.com>2022-04-16 22:39:14 +0900
committerGitHub <noreply@github.com>2022-04-16 16:39:14 +0300
commitd5cad2a862467bf287b20d7a471801ab2219456a (patch)
treef19aa15de166bb3de7ed853063c07b8c3407323d
parent673710487afac8596a9f18fea9e04aeada32c2be (diff)
downloadalacritty-d5cad2a862467bf287b20d7a471801ab2219456a.tar.gz
alacritty-d5cad2a862467bf287b20d7a471801ab2219456a.zip
Fix cell_height of impl From<SizeInfo<f32>> for WindowSize
-rw-r--r--alacritty/src/display/mod.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/alacritty/src/display/mod.rs b/alacritty/src/display/mod.rs
index 5bd0a097..10ee65c0 100644
--- a/alacritty/src/display/mod.rs
+++ b/alacritty/src/display/mod.rs
@@ -183,7 +183,7 @@ impl From<SizeInfo<f32>> for WindowSize {
num_cols: size_info.columns() as u16,
num_lines: size_info.screen_lines() as u16,
cell_width: size_info.cell_width() as u16,
- cell_height: size_info.cell_width() as u16,
+ cell_height: size_info.cell_height() as u16,
}
}
}