diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/xterm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/xterm.c b/src/xterm.c index 9921ad03e7f..c4affa4a883 100644 --- a/src/xterm.c +++ b/src/xterm.c | |||
| @@ -1777,7 +1777,7 @@ x_produce_stretch_glyph (it) | |||
| 1777 | 1777 | ||
| 1778 | #define VCENTER_BASELINE_OFFSET(FONT, F) \ | 1778 | #define VCENTER_BASELINE_OFFSET(FONT, F) \ |
| 1779 | ((FONT)->descent \ | 1779 | ((FONT)->descent \ |
| 1780 | + (FRAME_LINE_HEIGHT ((F)) - FONT_HEIGHT ((FONT))) / 2 \ | 1780 | + (FRAME_LINE_HEIGHT ((F)) + 1 - FONT_HEIGHT ((FONT))) / 2 \ |
| 1781 | - ((F)->output_data.x->font->descent - (F)->output_data.x->baseline_offset)) | 1781 | - ((F)->output_data.x->font->descent - (F)->output_data.x->baseline_offset)) |
| 1782 | 1782 | ||
| 1783 | /* Produce glyphs/get display metrics for the display element IT is | 1783 | /* Produce glyphs/get display metrics for the display element IT is |