aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Sibiller <uli42@gmx.de>2020-12-30 22:43:07 +0100
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2021-01-15 16:38:11 +0100
commit090742b3b8362667b1570a47c9a7ce516c6f0d67 (patch)
tree8d79ad0e7454c2f982c2f45adecabfa7c5f6e801
parent92c8325f36944058ac4972eb4139128122ecad7c (diff)
downloadnx-libs-090742b3b8362667b1570a47c9a7ce516c6f0d67.tar.gz
nx-libs-090742b3b8362667b1570a47c9a7ce516c6f0d67.tar.bz2
nx-libs-090742b3b8362667b1570a47c9a7ce516c6f0d67.zip
nxagent: some more Boolean improvements
-rw-r--r--nx-X11/programs/Xserver/hw/nxagent/Window.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/nx-X11/programs/Xserver/hw/nxagent/Window.c b/nx-X11/programs/Xserver/hw/nxagent/Window.c
index a5f457796..fa1910eac 100644
--- a/nx-X11/programs/Xserver/hw/nxagent/Window.c
+++ b/nx-X11/programs/Xserver/hw/nxagent/Window.c
@@ -2146,7 +2146,7 @@ void nxagentWindowExposures(WindowPtr pWin, RegionPtr pRgn, RegionPtr other_expo
if (nxagentSessionState != SESSION_DOWN)
{
- if (nxagentExposeArrayIsInitialized == 0)
+ if (!nxagentExposeArrayIsInitialized)
{
#ifdef TEST
fprintf(stderr, "nxagentWindowExposures: Initializing expose queue.\n");
@@ -2171,7 +2171,7 @@ void nxagentWindowExposures(WindowPtr pWin, RegionPtr pRgn, RegionPtr other_expo
nxagentInitRemoteExposeRegion();
- nxagentExposeArrayIsInitialized = 1;
+ nxagentExposeArrayIsInitialized = True;
}
RegionRec temp;