diff options
author | Owen Taylor <otaylor@redhat.com> | 2004-02-29 20:57:29 +0000 |
---|---|---|
committer | Owen Taylor <otaylor@src.gnome.org> | 2004-02-29 20:57:29 +0000 |
commit | 3d34f7083cf5c4a83c946a55424cf7eae79b2e85 (patch) | |
tree | b3350d8a36e08a5af690ffb9621f342915594c26 /pango/pangowin32.c | |
parent | 25c8ec71bed7f5daa42b17220e0bf00a1ef1e3bc (diff) | |
download | pango-3d34f7083cf5c4a83c946a55424cf7eae79b2e85.tar.gz |
Fix up off-by-one for right bound when drawing PANGO_UNDERLINE_ERROR.
Sun Feb 29 15:54:51 2004 Owen Taylor <otaylor@redhat.com>
* pango/pangowin32.c pango/pangox.c pango/pangoft2.c:
Fix up off-by-one for right bound when drawing
PANGO_UNDERLINE_ERROR.
Diffstat (limited to 'pango/pangowin32.c')
-rw-r--r-- | pango/pangowin32.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pango/pangowin32.c b/pango/pangowin32.c index d143aef9..1a7f3f5c 100644 --- a/pango/pangowin32.c +++ b/pango/pangowin32.c @@ -808,7 +808,7 @@ pango_win32_render_layout_line (HDC hdc, int end_x = x + PANGO_PIXELS (x_off + ink_rect.x + ink_rect.width); for (point_x = x + PANGO_PIXELS (x_off + ink_rect.x) - 1; - point_x < end_x; + point_x <= end_x; point_x += 2) { points[0].x = point_x; |