summaryrefslogtreecommitdiff
path: root/pango/pangoxft-font.c
diff options
context:
space:
mode:
authorOwen Taylor <otaylor@redhat.com>2002-07-16 00:20:12 +0000
committerOwen Taylor <otaylor@src.gnome.org>2002-07-16 00:20:12 +0000
commitb3c8ee4d85113294e4d0c3e80f3a2040a20b0c6c (patch)
tree8f94290b66995aa68062a786f42c32cb98434064 /pango/pangoxft-font.c
parentbc8d8855f875ad4b9f738cd2c7146c92a3d82be1 (diff)
downloadpango-b3c8ee4d85113294e4d0c3e80f3a2040a20b0c6c.tar.gz
Fix trivial typo that was causing the charcode hex boxes to be
Mon Jul 15 20:22:46 2002 Owen Taylor <otaylor@redhat.com> * pango/pangoxft-font.c: Fix trivial typo that was causing the charcode hex boxes to be misrendered.
Diffstat (limited to 'pango/pangoxft-font.c')
-rw-r--r--pango/pangoxft-font.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pango/pangoxft-font.c b/pango/pangoxft-font.c
index 2d017bde..4f82bb8e 100644
--- a/pango/pangoxft-font.c
+++ b/pango/pangoxft-font.c
@@ -320,7 +320,7 @@ pango_xft_real_render (Display *display,
for (k = 0; k < 2; k++)
{
XftCharSpec *c = &chars[j * 2 + k];
- c->ucs4 = buf[2 + j + k] & 0xff;
+ c->ucs4 = buf[j * 2 + k] & 0xff;
c->x = xs[k+1];
c->y = ys[j+1];
}