From: Michael D. Lowis Date: Wed, 28 Jun 2017 01:42:17 +0000 (-0400) Subject: fixed mismatch in position between line number marker and current line X-Git-Url: https://git.mdlowis.com/?a=commitdiff_plain;h=97bd512439cb7fd18607338dbd374b55d0079b08;p=projs%2Ftide.git fixed mismatch in position between line number marker and current line --- 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--) {