From 6869679be50346932877921b832c86b5b4ad6a97 Mon Sep 17 00:00:00 2001 From: Po Lu Date: Wed, 2 Feb 2022 02:25:00 +0000 Subject: [PATCH] Fix display of vertical window dividers on Haiku * src/haikuterm.c (haiku_draw_window_divider): Make drawing consistent with X. --- src/haikuterm.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/haikuterm.c b/src/haikuterm.c index c6c92227b8d..0a3695df19d 100644 --- a/src/haikuterm.c +++ b/src/haikuterm.c @@ -1916,11 +1916,11 @@ haiku_draw_window_divider (struct window *w, int x0, int x1, int y0, int y1) last pixels differently. */ { BView_SetHighColor (view, color_first); - BView_StrokeLine (f, x0, y0, x1 - 1, y0); + BView_StrokeLine (view, x0, y0, x1 - 1, y0); BView_SetHighColor (view, color); BView_FillRectangle (view, x0, y0 + 1, x1 - x0, y1 - y0 - 2); BView_SetHighColor (view, color_last); - BView_StrokeLine (view, x0, y1, x1 - 1, y1); + BView_FillRectangle (view, x0, y1 - 1, x1 - x0, 1); } else { -- 2.39.5