aboutsummaryrefslogtreecommitdiff
path: root/nx-X11/programs/Xserver/hw/nxagent/Pixels.c
diff options
context:
space:
mode:
authorUlrich Sibiller <uli42@gmx.de>2019-10-31 01:49:12 +0100
committerUlrich Sibiller <uli42@gmx.de>2020-01-05 22:40:32 +0100
commitadca0cc92abed6f7f6184b91d807a4befb80e856 (patch)
treefde666b59abbe3bdf0ed574147344c0d25075b03 /nx-X11/programs/Xserver/hw/nxagent/Pixels.c
parentfc991b93a9f8c4ea53a8d53ab24f3906f3ca3004 (diff)
downloadnx-libs-adca0cc92abed6f7f6184b91d807a4befb80e856.tar.gz
nx-libs-adca0cc92abed6f7f6184b91d807a4befb80e856.tar.bz2
nx-libs-adca0cc92abed6f7f6184b91d807a4befb80e856.zip
Pixels.c: reformat comments
Diffstat (limited to 'nx-X11/programs/Xserver/hw/nxagent/Pixels.c')
-rw-r--r--nx-X11/programs/Xserver/hw/nxagent/Pixels.c11
1 files changed, 4 insertions, 7 deletions
diff --git a/nx-X11/programs/Xserver/hw/nxagent/Pixels.c b/nx-X11/programs/Xserver/hw/nxagent/Pixels.c
index 5e5573ada..8aaa9ecd8 100644
--- a/nx-X11/programs/Xserver/hw/nxagent/Pixels.c
+++ b/nx-X11/programs/Xserver/hw/nxagent/Pixels.c
@@ -130,8 +130,7 @@ int nxagentUniquePixels(XImage *image)
#endif
/*
- * Take one pixel every n from the image and
- * add it to the array.
+ * Take one pixel every n from the image and add it to the array.
*/
switch (image -> bits_per_pixel)
@@ -172,11 +171,9 @@ int nxagentUniquePixels(XImage *image)
case 15:
{
/*
- * Note that the padding bytes at the end
- * of the scanline are included in the set.
- * This is not a big problem. What we want
- * to find out is just how compressible is
- * the image data.
+ * Note that the padding bytes at the end of the scanline are
+ * included in the set. This is not a big problem. What we want
+ * to find out is just how compressible is the image data.
*/
for (int i = 0; i < elements; i++)