Mercurial > emacs
diff src/macterm.c @ 95792:953225ddde83
* xdisp.c (underline_minimum_offset): Rename from xterm.c's
x_underline_minimum_display_offset.
(syms_of_xdisp): Declare it here rather than in xterm.c.
* dispextern.h (underline_minimum_offset): Declare it.
* w32term.c (x_draw_glyph_string): Use it.
* xterm.c (x_underline_minimum_display_offset): Move to xdisp.c.
(syms_of_xterm): Don't declare it any more.
(x_draw_glyph_string): Adjust to the new name.
* cus-start.el (underline-minimum-offset) Rename from
x-underline-minimum-display-offset.
| author | Stefan Monnier <monnier@iro.umontreal.ca> |
|---|---|
| date | Tue, 10 Jun 2008 20:22:10 +0000 |
| parents | 4390d64d3328 |
| children | 3760da9fe15e |
line wrap: on
line diff
--- a/src/macterm.c Tue Jun 10 20:01:54 2008 +0000 +++ b/src/macterm.c Tue Jun 10 20:22:10 2008 +0000 @@ -4083,7 +4083,7 @@ if (s->face->font) y = s->ybase + (s->face->font->max_bounds.descent + 1) / 2; } - + /* FIXME: Obey underline_minimum_offset. */ if (s->face->underline_defaulted_p) mac_fill_rectangle (s->f, s->gc, s->x, y, s->background_width, h);
