aboutsummaryrefslogtreecommitdiff
path: root/nx-X11
diff options
context:
space:
mode:
authorUlrich Sibiller <uli42@gmx.de>2019-09-06 04:05:37 +0200
committerUlrich Sibiller <uli42@gmx.de>2020-01-05 22:37:36 +0100
commit41bc1de9868233f155b459a3be0f821cc39ff931 (patch)
tree2b8022cfe3523d31abf243c7155e50c830e7da10 /nx-X11
parent193bda764f74a2c9c619cdf0675f3a78439c2e5e (diff)
downloadnx-libs-41bc1de9868233f155b459a3be0f821cc39ff931.tar.gz
nx-libs-41bc1de9868233f155b459a3be0f821cc39ff931.tar.bz2
nx-libs-41bc1de9868233f155b459a3be0f821cc39ff931.zip
GCOps.c: reformat comments
Diffstat (limited to 'nx-X11')
-rw-r--r--nx-X11/programs/Xserver/hw/nxagent/GCOps.c10
1 files changed, 4 insertions, 6 deletions
diff --git a/nx-X11/programs/Xserver/hw/nxagent/GCOps.c b/nx-X11/programs/Xserver/hw/nxagent/GCOps.c
index ebb993229..b4ddd5643 100644
--- a/nx-X11/programs/Xserver/hw/nxagent/GCOps.c
+++ b/nx-X11/programs/Xserver/hw/nxagent/GCOps.c
@@ -95,8 +95,7 @@ static int nxagentSaveGCTrap;
RegionPtr nxagentBitBlitHelper(GC *pGC);
/*
- * The NX agent implementation of the
- * X server's graphics functions.
+ * The NX agent implementation of the X server's graphics functions.
*/
void nxagentFillSpans(DrawablePtr pDrawable, GCPtr pGC, int nSpans,
@@ -170,7 +169,7 @@ void nxagentQueryBestSize(int class, unsigned short *pwidth,
case StippleShape:
width = *pwidth;
if (!width) break;
- /* Return the closes power of two not less than what they gave me */
+ /* Return the closest power of two not less than what they gave me */
test = 0x80000000;
/* Find the highest 1 bit in the width given */
while(!(test & width))
@@ -456,9 +455,8 @@ FIXME: The popup could be synchronized with one single put image,
if (RegionNumRects(pClipRegion) == 1)
{
/*
- * If the region to copy is formed by one
- * rectangle, we change only the copy coor-
- * dinates.
+ * If the region to copy is formed by one rectangle, we change
+ * only the copy coordinates.
*/
srcx = srcx + pClipRegion -> extents.x1 - dstx;