From 721e51c117eccec652aab950d640378b1ad9a88b Mon Sep 17 00:00:00 2001 From: jjrams Date: Sat, 27 Oct 2018 12:24:37 -0700 Subject: [PATCH] Fix typo when using adjust_column_width_frac --- kitty/fonts.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kitty/fonts.c b/kitty/fonts.c index 80323759c..54a3d992e 100644 --- a/kitty/fonts.c +++ b/kitty/fonts.c @@ -395,7 +395,7 @@ calc_cell_metrics(FontGroup *fg) { if (OPT(adjust_line_height_px) != 0) cell_height += OPT(adjust_line_height_px); if (OPT(adjust_line_height_frac) != 0.f) cell_height *= OPT(adjust_line_height_frac); if (OPT(adjust_column_width_px != 0)) cell_width += OPT(adjust_column_width_px); - if (OPT(adjust_column_width_frac) != 0.f) cell_height *= OPT(adjust_column_width_frac); + if (OPT(adjust_column_width_frac) != 0.f) cell_width *= OPT(adjust_column_width_frac); int line_height_adjustment = cell_height - before_cell_height; if (cell_height < 4) fatal("line height too small after adjustment"); if (cell_height > 1000) fatal("line height too large after adjustment");