diff options
author | Adam Jackson <ajax@nwnk.net> | 2005-08-28 19:39:54 +0000 |
---|---|---|
committer | Adam Jackson <ajax@nwnk.net> | 2005-08-28 19:39:54 +0000 |
commit | aafc1f6428ecdcb858e954ad7e5f866a07782851 (patch) | |
tree | abd033764b633cac4478bcf64fe76e7dd2ff9324 /xfd.c | |
parent | 9e2944c39c197c7b70ac26f1e56beb9085769f63 (diff) |
Bug #3424: Xft and high-index glyph fixes for xfd (James Cloos)XORG-6_8_99_903XORG-6_8_99_902XORG-6_8_99_901
Diffstat (limited to 'xfd.c')
-rw-r--r-- | xfd.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -401,7 +401,7 @@ change_page(int page) GetFontGridCellDimensions (fontGrid, &oldstart, &ncols, &nrows); if (page) { - Dimension start = (oldstart + + long start = (oldstart + ((long) ncols) * ((long) nrows) * ((long) page)); arg.value = (XtArgVal) start; @@ -414,7 +414,7 @@ change_page(int page) /* if not paging, then initialize it, else only do it actually changed */ if (!page || newstart != oldstart) { - unsigned int row = (unsigned int) ((newstart >> 8) & 0xff); + unsigned int row = (unsigned int) ((newstart >> 8)); unsigned int col = (unsigned int) (newstart & 0xff); XtSetArg (arg, XtNlabel, buf); |