[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
master 6869679be5: Fix display of vertical window dividers on Haiku
From: |
Po Lu |
Subject: |
master 6869679be5: Fix display of vertical window dividers on Haiku |
Date: |
Tue, 1 Feb 2022 21:28:23 -0500 (EST) |
branch: master
commit 6869679be50346932877921b832c86b5b4ad6a97
Author: Po Lu <luangruo@yahoo.com>
Commit: Po Lu <luangruo@yahoo.com>
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 c6c92227b8..0a3695df19 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
{
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- master 6869679be5: Fix display of vertical window dividers on Haiku,
Po Lu <=