Commit 41bc1de9 authored by Ulrich Sibiller's avatar Ulrich Sibiller

GCOps.c: reformat comments

parent 193bda76
...@@ -95,8 +95,7 @@ static int nxagentSaveGCTrap; ...@@ -95,8 +95,7 @@ static int nxagentSaveGCTrap;
RegionPtr nxagentBitBlitHelper(GC *pGC); RegionPtr nxagentBitBlitHelper(GC *pGC);
/* /*
* The NX agent implementation of the * The NX agent implementation of the X server's graphics functions.
* X server's graphics functions.
*/ */
void nxagentFillSpans(DrawablePtr pDrawable, GCPtr pGC, int nSpans, void nxagentFillSpans(DrawablePtr pDrawable, GCPtr pGC, int nSpans,
...@@ -170,7 +169,7 @@ void nxagentQueryBestSize(int class, unsigned short *pwidth, ...@@ -170,7 +169,7 @@ void nxagentQueryBestSize(int class, unsigned short *pwidth,
case StippleShape: case StippleShape:
width = *pwidth; width = *pwidth;
if (!width) break; 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; test = 0x80000000;
/* Find the highest 1 bit in the width given */ /* Find the highest 1 bit in the width given */
while(!(test & width)) while(!(test & width))
...@@ -456,9 +455,8 @@ FIXME: The popup could be synchronized with one single put image, ...@@ -456,9 +455,8 @@ FIXME: The popup could be synchronized with one single put image,
if (RegionNumRects(pClipRegion) == 1) if (RegionNumRects(pClipRegion) == 1)
{ {
/* /*
* If the region to copy is formed by one * If the region to copy is formed by one rectangle, we change
* rectangle, we change only the copy coor- * only the copy coordinates.
* dinates.
*/ */
srcx = srcx + pClipRegion -> extents.x1 - dstx; srcx = srcx + pClipRegion -> extents.x1 - dstx;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment