projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0d5befb
)
Fix glyphless glyph display on Haiku
author
Po Lu
<luangruo@yahoo.com>
Tue, 3 May 2022 03:18:11 +0000
(
03:18
+0000)
committer
Po Lu
<luangruo@yahoo.com>
Tue, 3 May 2022 03:18:11 +0000
(
03:18
+0000)
* src/haikuterm.c
(haiku_draw_glyphless_glyph_string_foreground): Fix rectangle
width.
src/haikuterm.c
patch
|
blob
|
history
diff --git
a/src/haikuterm.c
b/src/haikuterm.c
index bdec82db7abd17748c75f6dbc1336bf99a8ff2af..1481d95c0879b6983841277c63f5e4cf540ed8d6 100644
(file)
--- 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;
}