summaryrefslogtreecommitdiff
path: root/pango/pango-renderer.c
diff options
context:
space:
mode:
authorBehdad Esfahbod <behdad@gnome.org>2006-09-11 21:03:30 +0000
committerBehdad Esfahbod <behdad@src.gnome.org>2006-09-11 21:03:30 +0000
commitfca3a5693a7516bb4871576886609f9baf97ac74 (patch)
treed08ccd84df27b69378321fd241f4d3384e725f9d /pango/pango-renderer.c
parentb8fac1bfdd04bd0daa078c15e24116efca14f616 (diff)
downloadpango-fca3a5693a7516bb4871576886609f9baf97ac74.tar.gz
Bug 355435 – Invalid calls to pango_map_get_engine() Patch from
2006-09-11 Behdad Esfahbod <behdad@gnome.org> Bug 355435 – Invalid calls to pango_map_get_engine() Patch from Theppitak Karoonboonyanan * pango/break.c (pango_get_log_attrs): * pango/pango-renderer.c (add_underline): * pango/pangofc-font.c (pango_fc_font_find_shaper): * pango/pangowin32.c (pango_win32_font_find_shaper): * pango/pangox.c (pango_x_font_find_shaper): Pass a PangoScript to pango_map_get_engine, not a gunichar!
Diffstat (limited to 'pango/pango-renderer.c')
-rw-r--r--pango/pango-renderer.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/pango/pango-renderer.c b/pango/pango-renderer.c
index 7d165f82..02ee4e38 100644
--- a/pango/pango-renderer.c
+++ b/pango/pango-renderer.c
@@ -317,7 +317,6 @@ add_underline (PangoRenderer *renderer,
new_rect.y += ink_rect->y + ink_rect->height + underline_thickness;
break;
}
- int new_pos;
if (renderer->underline == state->underline &&
new_rect.y == current_rect->y &&