diff options
author | Vito Caputo <vcaputo@pengaru.com> | 2021-03-15 18:53:43 -0700 |
---|---|---|
committer | Vito Caputo <vcaputo@pengaru.com> | 2021-03-15 18:53:43 -0700 |
commit | 82008ccd7ad52e7e2f917b6a1de42dbe8546b7ec (patch) | |
tree | 195a71a2c6232b953b60825383b555aed6166111 /src/rmd_make_dummy_pointer.c | |
parent | f3f4730c2236a3f27a921d818f14bc62b0e311d0 (diff) |
*: random whitespace cleanups
Mostly trailing space/tab removals, no functional changes.
Diffstat (limited to 'src/rmd_make_dummy_pointer.c')
-rw-r--r-- | src/rmd_make_dummy_pointer.c | 8 |
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; } } |