aboutsummaryrefslogtreecommitdiff
path: root/nx-X11/programs/Xserver/hw/nxagent/GC.c
diff options
context:
space:
mode:
authorUlrich Sibiller <uli42@gmx.de>2021-11-18 23:02:53 +0100
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2023-04-27 14:20:56 +0200
commit36c6f09430f74495cb1802e93b9299be0c3d3e53 (patch)
tree675e633ba4ddf6637667e32bf10d74bc8302a588 /nx-X11/programs/Xserver/hw/nxagent/GC.c
parent75c10f3429eb30023a16219795a85569cb48a73a (diff)
downloadnx-libs-36c6f09430f74495cb1802e93b9299be0c3d3e53.tar.gz
nx-libs-36c6f09430f74495cb1802e93b9299be0c3d3e53.tar.bz2
nx-libs-36c6f09430f74495cb1802e93b9299be0c3d3e53.zip
nxagent: delete trailing whitespace in many files
Please note that the NX*.c files still have trailing whitespace at many locations. We keep it like that on purpose to make comparisons to the files they are derived from easier.
Diffstat (limited to 'nx-X11/programs/Xserver/hw/nxagent/GC.c')
-rw-r--r--nx-X11/programs/Xserver/hw/nxagent/GC.c17
1 files changed, 8 insertions, 9 deletions
diff --git a/nx-X11/programs/Xserver/hw/nxagent/GC.c b/nx-X11/programs/Xserver/hw/nxagent/GC.c
index b956bb8df..46e9cfe6f 100644
--- a/nx-X11/programs/Xserver/hw/nxagent/GC.c
+++ b/nx-X11/programs/Xserver/hw/nxagent/GC.c
@@ -219,13 +219,13 @@ void nxagentValidateGC(GCPtr pGC, unsigned long changes, DrawablePtr pDrawable)
if (!pGC -> tileIsPixel && !nxagentPixmapIsVirtual(pGC -> tile.pixmap))
{
- pGC -> tile.pixmap = nxagentVirtualPixmap(pGC -> tile.pixmap);
+ pGC -> tile.pixmap = nxagentVirtualPixmap(pGC -> tile.pixmap);
}
PixmapPtr lastTile = pGC -> tile.pixmap;
PixmapPtr lastStipple = pGC->stipple;
-
+
if (lastStipple)
{
pGC->stipple = nxagentVirtualPixmap(pGC->stipple);
@@ -403,7 +403,7 @@ void nxagentChangeGC(GCPtr pGC, unsigned long mask)
values.font = nxagentFont(pGC->font);
changeFlag += nxagentTestGC(values.font, font);
}
- }
+ }
CHECKGCVAL(GCSubwindowMode, subwindow_mode, pGC->subWindowMode);
CHECKGCVAL(GCGraphicsExposures, graphics_exposures, pGC->graphicsExposures);
@@ -595,7 +595,7 @@ void nxagentChangeClip(GCPtr pGC, int type, void * pValue, int nRects)
case CT_UNSORTED:
{
if (!clipsMatch && !nxagentGCTrap)
- {
+ {
XSetClipRectangles(nxagentDisplay, nxagentGC(pGC),
pGC->clipOrg.x, pGC->clipOrg.y,
(XRectangle *)pValue, nRects, Unsorted);
@@ -896,7 +896,7 @@ static void nxagentReconnectGC(void *param0, XID param1, void * param2)
#endif
}
- #ifdef DEBUG
+ #ifdef DEBUG
fprintf(stderr, "nxagentReconnectGC: GC at [%p].\n", (void *) pGC);
#endif
@@ -1036,7 +1036,7 @@ void nxagentDisconnectGC(void * p0, XID x1, void * p2)
if (!*pBool || !pGC)
{
- if (!pGC)
+ if (!pGC)
{
#ifdef WARNING
fprintf(stderr, "nxagentDisconnectGC: WARNING! pGC is NULL.\n");
@@ -1050,7 +1050,7 @@ void nxagentDisconnectGC(void * p0, XID x1, void * p2)
PixmapPtr pMap = pGC -> stipple;
nxagentDisconnectPixmap(nxagentRealPixmap(pMap), 0, pBool);
}
-}
+}
Bool nxagentDisconnectAllGCs(void)
{
@@ -1385,7 +1385,7 @@ GCPtr nxagentCreateGraphicContext(int depth)
*/
nxagentGraphicContextsPtr nxagentGCs = realloc(nxagentGraphicContexts, (nxagentGraphicContextsSize + 1) * sizeof(nxagentGraphicContextsRec));
-
+
if (nxagentGCs == NULL)
{
#ifdef WARNING
@@ -1471,4 +1471,3 @@ void nxagentDisconnectGraphicContexts(void)
return;
}
-