summaryrefslogtreecommitdiff
path: root/pango/pangox.c
diff options
context:
space:
mode:
authorOwen Taylor <otaylor@redhat.com>2004-02-29 20:57:29 +0000
committerOwen Taylor <otaylor@src.gnome.org>2004-02-29 20:57:29 +0000
commit3d34f7083cf5c4a83c946a55424cf7eae79b2e85 (patch)
treeb3350d8a36e08a5af690ffb9621f342915594c26 /pango/pangox.c
parent25c8ec71bed7f5daa42b17220e0bf00a1ef1e3bc (diff)
downloadpango-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/pangox.c')
-rw-r--r--pango/pangox.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pango/pangox.c b/pango/pangox.c
index f0708ffa..7f0dcd98 100644
--- a/pango/pangox.c
+++ b/pango/pangox.c
@@ -1507,7 +1507,7 @@ pango_x_render_layout_line (Display *display,
int end_x = x + (x_off + ink_rect.x + ink_rect.width) / PANGO_SCALE;
for (point_x = x + PANGO_PIXELS (x_off + ink_rect.x) - 1;
- point_x < end_x;
+ point_x <= end_x;
point_x += 2)
{
if (counter)