]> git.eshelyaron.com Git - emacs.git/commitdiff
Fix display of vertical window dividers on Haiku
authorPo Lu <luangruo@yahoo.com>
Wed, 2 Feb 2022 02:25:00 +0000 (02:25 +0000)
committerPo Lu <luangruo@yahoo.com>
Wed, 2 Feb 2022 02:25:00 +0000 (02:25 +0000)
* src/haikuterm.c (haiku_draw_window_divider): Make drawing
consistent with X.

src/haikuterm.c

index c6c92227b8dcea889081f1dee1f3d33b1a3bbe68..0a3695df19d361a4d1bdc4544f236b394f94cfb6 100644 (file)
@@ -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
     {