[X2Go-Commits] [nx-libs] 131/429: nxagent: some more Boolean improvements

git-admin at x2go.org git-admin at x2go.org
Mon Oct 18 09:36:17 CEST 2021


This is an automated email from the git hooks/post-receive script.

x2go pushed a commit to branch 3.6.x
in repository nx-libs.

commit 090742b3b8362667b1570a47c9a7ce516c6f0d67
Author: Ulrich Sibiller <uli42 at gmx.de>
Date:   Wed Dec 30 22:43:07 2020 +0100

    nxagent: some more Boolean improvements
---
 nx-X11/programs/Xserver/hw/nxagent/Window.c | 4 ++--
 1 file 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;

--
Alioth's /home/x2go-admin/maintenancescripts/git/hooks/post-receive-email on /srv/git/code.x2go.org/nx-libs.git


More information about the x2go-commits mailing list