From a80125ae370e001ffced20a07daea45eddea73c9 Mon Sep 17 00:00:00 2001 From: Po Lu Date: Sat, 8 Jan 2022 10:41:05 +0000 Subject: [PATCH] * src/haikuterm.c (haiku_clear_frame): Fix clipping. --- src/haikuterm.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/haikuterm.c b/src/haikuterm.c index 2239770de95..77e030221ee 100644 --- a/src/haikuterm.c +++ b/src/haikuterm.c @@ -234,11 +234,11 @@ haiku_clear_frame (struct frame *f) block_input (); BView_draw_lock (view); BView_StartClip (view); - BView_ClipToRect (view, 0, 0, FRAME_PIXEL_WIDTH (f) + 1, - FRAME_PIXEL_HEIGHT (f) + 1); + BView_ClipToRect (view, 0, 0, FRAME_PIXEL_WIDTH (f), + FRAME_PIXEL_HEIGHT (f)); BView_SetHighColor (view, FRAME_BACKGROUND_PIXEL (f)); - BView_FillRectangle (view, 0, 0, FRAME_PIXEL_WIDTH (f) + 1, - FRAME_PIXEL_HEIGHT (f) + 1); + BView_FillRectangle (view, 0, 0, FRAME_PIXEL_WIDTH (f) , + FRAME_PIXEL_HEIGHT (f)); BView_EndClip (view); BView_draw_unlock (view); unblock_input (); -- 2.39.2