diff options
author | kumattau <kumattau@gmail.com> | 2022-04-16 22:39:14 +0900 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-04-16 16:39:14 +0300 |
commit | d5cad2a862467bf287b20d7a471801ab2219456a (patch) | |
tree | f19aa15de166bb3de7ed853063c07b8c3407323d | |
parent | 673710487afac8596a9f18fea9e04aeada32c2be (diff) | |
download | alacritty-d5cad2a862467bf287b20d7a471801ab2219456a.tar.gz alacritty-d5cad2a862467bf287b20d7a471801ab2219456a.zip |
Fix cell_height of impl From<SizeInfo<f32>> for WindowSize
-rw-r--r-- | alacritty/src/display/mod.rs | 2 |
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, } } } |