Fix more problems with display of composite glyph strings on Haiku

* src/haikuterm.c
(haiku_draw_composite_glyph_string_foreground): Fix pen size of
placeholder rectangle.
This commit is contained in:
Po Lu 2022-05-06 04:11:38 +00:00
parent f515ff05e0
commit 8fe3d46d35

View file

@ -1349,6 +1349,8 @@ haiku_draw_composite_glyph_string_foreground (struct glyph_string *s)
BView_SetHighColor (view, FRAME_OUTPUT_DATA (s->f)->cursor_fg);
else
BView_SetHighColor (view, s->face->foreground);
BView_SetPenSize (view, 1);
BView_StrokeRectangle (view, s->x, s->y,
s->width, s->height);
}