From: Po Lu Date: Tue, 3 May 2022 03:18:11 +0000 (+0000) Subject: Fix glyphless glyph display on Haiku X-Git-Tag: emacs-29.0.90~1931^2~118 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=61a5829c1ed4ec3d2e824da6048c58bf447d86b3;p=emacs.git Fix glyphless glyph display on Haiku * src/haikuterm.c (haiku_draw_glyphless_glyph_string_foreground): Fix rectangle width. --- diff --git a/src/haikuterm.c b/src/haikuterm.c index bdec82db7ab..1481d95c087 100644 --- a/src/haikuterm.c +++ b/src/haikuterm.c @@ -1180,8 +1180,8 @@ haiku_draw_glyphless_glyph_string_foreground (struct glyph_string *s) BView_SetPenSize (FRAME_HAIKU_VIEW (s->f), 1); BView_StrokeRectangle (FRAME_HAIKU_VIEW (s->f), x, s->ybase - glyph->ascent, - glyph->pixel_width - 1, - glyph->ascent + glyph->descent - 1); + glyph->pixel_width, + glyph->ascent + glyph->descent); } x += glyph->pixel_width; }