From e5e29349e12b31e694060c4c138464ed7e88a911 Mon Sep 17 00:00:00 2001 From: Jason Rumney Date: Wed, 14 May 2008 14:40:57 +0000 Subject: [PATCH] (w32_get_glyph_overhangs): Remove. (w32_redisplay_interface): Use x_get_glyph_overhangs instead. --- src/ChangeLog | 5 +++++ src/w32term.c | 16 +--------------- 2 files changed, 6 insertions(+), 15 deletions(-) diff --git a/src/ChangeLog b/src/ChangeLog index 1b897b8403b..b365794448e 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,8 @@ +2008-05-14 Jason Rumney + + * w32term.c (w32_get_glyph_overhangs): Remove. + (w32_redisplay_interface): Use x_get_glyph_overhangs instead. + 2008-05-14 Kenichi Handa * font.c (font_prop_validate): Make nil a valid value. diff --git a/src/w32term.c b/src/w32term.c index aeab2b718e1..101b7d58f71 100644 --- a/src/w32term.c +++ b/src/w32term.c @@ -1766,20 +1766,6 @@ w32_compute_glyph_string_overhangs (s) } } - -static void -w32_get_glyph_overhangs (glyph, f, left, right) - struct glyph *glyph; - struct frame *f; - int *left, *right; -{ - HDC hdc = get_frame_dc (f); - /* Convert to unicode! */ - x_get_glyph_overhangs (glyph, f, left, right); - release_frame_dc (f, hdc); -} - - /* Fill rectangle X, Y, W, H with background color of glyph string S. */ static INLINE void @@ -6837,7 +6823,7 @@ static struct redisplay_interface w32_redisplay_interface = x_flush, 0, /* flush_display_optional */ x_clear_window_mouse_face, - w32_get_glyph_overhangs, + x_get_glyph_overhangs, x_fix_overlapping_area, w32_draw_fringe_bitmap, w32_define_fringe_bitmap, -- 2.39.5