diff --git a/util.c b/util.c index f0eb7fc..5d031cb 100644 --- a/util.c +++ b/util.c @@ -2160,7 +2160,7 @@ vertical_copy_area(XtermWidget xw, int src_x = CursorX(screen, left); int src_y = firstline * FontHeight(screen) + screen->border; unsigned int w = (unsigned) ((right + 1 - left) * FontWidth(screen)); - unsigned int h = (unsigned) (nlines * FontHeight(screen)); + unsigned int h = (unsigned) (nlines * VDrawable(screen)); int dst_x = src_x; int dst_y = src_y - amount * FontHeight(screen);