summaryrefslogtreecommitdiff
path: root/src/rmd_make_dummy_pointer.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/rmd_make_dummy_pointer.c')
-rw-r--r--src/rmd_make_dummy_pointer.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/rmd_make_dummy_pointer.c b/src/rmd_make_dummy_pointer.c
index bd38ea6..8d5567c 100644
--- a/src/rmd_make_dummy_pointer.c
+++ b/src/rmd_make_dummy_pointer.c
@@ -79,13 +79,13 @@ unsigned char *rmdMakeDummyPointer( Display *display,
*npxl = ((wp[0] - 1) != bp[0]) ? wp[0] - 100 : wp[0] - 102;
for (i = 0; i < size; i++) {
for (k = 0; k < size; k++) {
- ret[(i * size + k) * 4 + __ABYTE] = (pmask[type][i][k] == 'w') ?
+ ret[(i * size + k) * 4 + __ABYTE] = (pmask[type][i][k] == 'w') ?
wp[0]:(pmask[type][i][k] == 'b') ? bp[0] : *npxl;
- ret[(i * size + k) * 4 + __RBYTE] = (pmask[type][i][k] == 'w') ?
+ ret[(i * size + k) * 4 + __RBYTE] = (pmask[type][i][k] == 'w') ?
wp[1]:(pmask[type][i][k] == 'b') ? bp[1] : *npxl;
- ret[(i * size + k) * 4 + __GBYTE] = (pmask[type][i][k] == 'w') ?
+ ret[(i * size + k) * 4 + __GBYTE] = (pmask[type][i][k] == 'w') ?
wp[2]:(pmask[type][i][k] == 'b') ? bp[2] : *npxl;
- ret[(i * size + k) * 4 + __BBYTE] = (pmask[type][i][k] == 'w') ?
+ ret[(i * size + k) * 4 + __BBYTE] = (pmask[type][i][k] == 'w') ?
wp[3]:(pmask[type][i][k] == 'b') ? bp[3] : *npxl;
}
}
© All Rights Reserved