aboutsummaryrefslogtreecommitdiff
path: root/libXfont/src/bitmap/fontink.c
diff options
context:
space:
mode:
authormarha <marha@users.sourceforge.net>2014-09-08 23:42:34 +0200
committermarha <marha@users.sourceforge.net>2014-09-08 23:46:56 +0200
commitd0f70707dde032e662dbd5bc70df6ac915403abe (patch)
tree19a595625f8cdedc3662a8638f65451208103dfd /libXfont/src/bitmap/fontink.c
parentcb346e228aeb500cd61ec86644c034c238332d3b (diff)
downloadvcxsrv-d0f70707dde032e662dbd5bc70df6ac915403abe.tar.gz
vcxsrv-d0f70707dde032e662dbd5bc70df6ac915403abe.tar.bz2
vcxsrv-d0f70707dde032e662dbd5bc70df6ac915403abe.zip
Updated to libXfont 1.5.0
Diffstat (limited to 'libXfont/src/bitmap/fontink.c')
-rw-r--r--libXfont/src/bitmap/fontink.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libXfont/src/bitmap/fontink.c b/libXfont/src/bitmap/fontink.c
index ad7091fa6..f4898da10 100644
--- a/libXfont/src/bitmap/fontink.c
+++ b/libXfont/src/bitmap/fontink.c
@@ -98,7 +98,7 @@ FontCharInkMetrics(FontPtr pFont, CharInfoPtr pCI, xCharInfo *pInk)
found_ascent:
pInk->ascent = vpos - descent + 1;
- p = ((unsigned char *) pCI->bits) + bitmapByteWidthPadded *
+ p = ((unsigned char *) pCI->bits) + bitmapByteWidthPadded *
(descent + ascent - 1) + bitmapByteWidth;
for (vpos = descent + ascent; --vpos >= 0;) {