]> git.mdlowis.com Git - projs/tide.git/commitdiff
fixed mismatch in position between line number marker and current line
authorMichael D. Lowis <mike@mdlowis.com>
Wed, 28 Jun 2017 01:42:17 +0000 (21:42 -0400)
committerMichael D. Lowis <mike@mdlowis.com>
Wed, 28 Jun 2017 01:42:17 +0000 (21:42 -0400)
lib/win.c

index 2d08f8a3154156d2ab0a52a6b5971ab27220ce31..91b34256bf258aee063e6b03fef903151988ffac 100644 (file)
--- 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--) {