aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorThomas White <taw@bitwiz.org.uk>2016-05-02 12:24:34 +0200
committerThomas White <taw@bitwiz.org.uk>2016-05-02 12:24:34 +0200
commit6c82ddb90c05c3bee2da377efa4d07488ab961c1 (patch)
tree2d6e404b1764ebbef893a20bd6670a688c6c3b1f /src
parentd66afeb74fed4be680cc56ca5c0fb7fd0c1fa53c (diff)
Don't include paragraph spacing in highlight box
Diffstat (limited to 'src')
-rw-r--r--src/frame.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/frame.c b/src/frame.c
index d2e9009..ebc6857 100644
--- a/src/frame.c
+++ b/src/frame.c
@@ -663,7 +663,7 @@ int get_para_highlight(struct frame *fr, int cursor_para,
*cx = fr->pad_l;
*cy = fr->pad_t + py;
*cw = fr->w - fr->pad_l - fr->pad_r;
- *ch = para->height;
+ *ch = para->height - para->space[2] - para->space[3];
return 0;
}