aboutsummaryrefslogtreecommitdiff
path: root/nx-X11/programs/Xserver/hw/nxagent/Visual.c
diff options
context:
space:
mode:
authorUlrich Sibiller <uli42@gmx.de>2019-10-31 01:28:51 +0100
committerUlrich Sibiller <uli42@gmx.de>2020-01-05 22:40:32 +0100
commit1bb0e999eb7ad6bbc6c470a2ecf833c22500b5c1 (patch)
treead76262a342ad855e4c8732e215c29f17bd7d7b8 /nx-X11/programs/Xserver/hw/nxagent/Visual.c
parent5db6217ccdb03f5841498f6c69e338da7f06c04b (diff)
downloadnx-libs-1bb0e999eb7ad6bbc6c470a2ecf833c22500b5c1.tar.gz
nx-libs-1bb0e999eb7ad6bbc6c470a2ecf833c22500b5c1.tar.bz2
nx-libs-1bb0e999eb7ad6bbc6c470a2ecf833c22500b5c1.zip
Visual.c: reformat comments
Diffstat (limited to 'nx-X11/programs/Xserver/hw/nxagent/Visual.c')
-rw-r--r--nx-X11/programs/Xserver/hw/nxagent/Visual.c17
1 files changed, 7 insertions, 10 deletions
diff --git a/nx-X11/programs/Xserver/hw/nxagent/Visual.c b/nx-X11/programs/Xserver/hw/nxagent/Visual.c
index ea73ce50e..43f582f16 100644
--- a/nx-X11/programs/Xserver/hw/nxagent/Visual.c
+++ b/nx-X11/programs/Xserver/hw/nxagent/Visual.c
@@ -112,10 +112,9 @@ Colormap nxagentDefaultVisualColormap(Visual *visual)
}
/*
- * This is currently unused. It should serve
- * the scope of matching a visual whenever
- * a drawable has a different depth than the
- * real display.
+ * This is currently unused. It should serve the scope of matching a
+ * visual whenever a drawable has a different depth than the real
+ * display.
*/
Visual *nxagentVisualFromDepth(ScreenPtr pScreen, int depth)
@@ -132,9 +131,8 @@ Visual *nxagentVisualFromDepth(ScreenPtr pScreen, int depth)
}
/*
- * Create a fake 32 bits depth visual and
- * initialize it based on the endianness
- * of the remote display.
+ * Create a fake 32 bits depth visual and initialize it based on the
+ * endianness of the remote display.
*/
void nxagentInitAlphaVisual(void)
@@ -142,9 +140,8 @@ void nxagentInitAlphaVisual(void)
nxagentAlphaVisual.visualid = XAllocID(nxagentDisplay);
/*
- * Color masks are referred to bits inside
- * the pixel. This is independent from the
- * endianness.
+ * Color masks are referred to bits inside the pixel. This is
+ * independent from the endianness.
*/
nxagentAlphaVisual.red_mask = 0x00ff0000;