diff options
author | Alan Coopersmith <alan.coopersmith@oracle.com> | 2011-09-16 22:21:21 -0700 |
---|---|---|
committer | Alan Coopersmith <alan.coopersmith@oracle.com> | 2011-09-16 22:21:21 -0700 |
commit | 098ab294deed98371ee362fadafcf2e510e0cc50 (patch) | |
tree | 8ac9b280165a108d762f5de995782d172b7dbf75 /src/bitmap/fontink.c | |
parent | 211368b8d04ed13ba520de2dd49a875cb1d663a7 (diff) |
Strip trailing whitespace
Performed with: find * -type f | xargs perl -i -p -e 's{[ \t]+$}{}'
git diff -w & git diff -b show no diffs from this change
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Diffstat (limited to 'src/bitmap/fontink.c')
-rw-r--r-- | src/bitmap/fontink.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bitmap/fontink.c b/src/bitmap/fontink.c index ad7091f..f4898da 100644 --- a/src/bitmap/fontink.c +++ b/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;) { |