diff options
Diffstat (limited to 'nx-X11/programs/Xserver/hw/nxagent/Pixels.c')
-rw-r--r-- | nx-X11/programs/Xserver/hw/nxagent/Pixels.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/nx-X11/programs/Xserver/hw/nxagent/Pixels.c b/nx-X11/programs/Xserver/hw/nxagent/Pixels.c index 8aaa9ecd8..1b415718b 100644 --- a/nx-X11/programs/Xserver/hw/nxagent/Pixels.c +++ b/nx-X11/programs/Xserver/hw/nxagent/Pixels.c @@ -75,7 +75,7 @@ int nxagentUniquePixels(XImage *image) */ int total = image -> width * image -> height; - + int step = total / elements; if (step < PIXEL_STEP) @@ -91,7 +91,7 @@ int nxagentUniquePixels(XImage *image) /* * Shift at the left after each scanline. */ - + if (image -> bytes_per_line % step == 0) { step++; |