aboutsummaryrefslogtreecommitdiffstats
path: root/src/macterm.c
diff options
context:
space:
mode:
authorStefan Monnier2008-06-10 20:22:10 +0000
committerStefan Monnier2008-06-10 20:22:10 +0000
commit2a3bd2e19336d9a83349575859cfb4842c2ec861 (patch)
tree99185c9d37c39d003f8b6395e03aa9c866be64f3 /src/macterm.c
parentd5dc61631e773495e96ed2bbd3bca16c981e9f7e (diff)
downloademacs-2a3bd2e19336d9a83349575859cfb4842c2ec861.tar.gz
emacs-2a3bd2e19336d9a83349575859cfb4842c2ec861.zip
* 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.
Diffstat (limited to 'src/macterm.c')
-rw-r--r--src/macterm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/macterm.c b/src/macterm.c
index 2871bfa1179..b20857317d9 100644
--- a/src/macterm.c
+++ b/src/macterm.c
@@ -4083,7 +4083,7 @@ x_draw_glyph_string (s)
4083 if (s->face->font) 4083 if (s->face->font)
4084 y = s->ybase + (s->face->font->max_bounds.descent + 1) / 2; 4084 y = s->ybase + (s->face->font->max_bounds.descent + 1) / 2;
4085 } 4085 }
4086 4086 /* FIXME: Obey underline_minimum_offset. */
4087 if (s->face->underline_defaulted_p) 4087 if (s->face->underline_defaulted_p)
4088 mac_fill_rectangle (s->f, s->gc, s->x, y, 4088 mac_fill_rectangle (s->f, s->gc, s->x, y,
4089 s->background_width, h); 4089 s->background_width, h);