From 97bd512439cb7fd18607338dbd374b55d0079b08 Mon Sep 17 00:00:00 2001 From: "Michael D. Lowis" Date: Tue, 27 Jun 2017 21:42:17 -0400 Subject: [PATCH] fixed mismatch in position between line number marker and current line --- lib/win.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/win.c b/lib/win.c index 2d08f8a..91b3425 100644 --- a/lib/win.c +++ b/lib/win.c @@ -389,7 +389,7 @@ static void draw_line_num(bool current, size_t x, size_t y, size_t gcols, size_t if (current) { color = config_get_int(TxtCurrentLine); size_t fheight = x11_font_height(Font); - x11_draw_rect((color >> 8), x-3, y-fheight-1, gutter_size(), fheight); + x11_draw_rect((color >> 8), x-3, y-fheight, gutter_size(), fheight); } UGlyph glyphs[gcols]; for (int i = gcols-1; i >= 0; i--) { -- 2.49.0