aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Sibiller <uli42@gmx.de>2019-06-27 20:15:15 +0200
committerUlrich Sibiller <uli42@gmx.de>2019-06-27 20:34:29 +0200
commitd487d5879d10211c5aa536b84073cdf9c64c2fed (patch)
treec22e075319f7e536d0e57b1e5525a4ebc9c79bc0
parentea571387b2bed7738eb686a806b1416f239b556b (diff)
downloadnx-libs-d487d5879d10211c5aa536b84073cdf9c64c2fed.tar.gz
nx-libs-d487d5879d10211c5aa536b84073cdf9c64c2fed.tar.bz2
nx-libs-d487d5879d10211c5aa536b84073cdf9c64c2fed.zip
Consistently use None instead of 0 for nxagentIconWindow everywhere
-rw-r--r--nx-X11/programs/Xserver/hw/nxagent/Screen.c2
-rw-r--r--nx-X11/programs/Xserver/hw/nxagent/Window.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/nx-X11/programs/Xserver/hw/nxagent/Screen.c b/nx-X11/programs/Xserver/hw/nxagent/Screen.c
index 54aa8f4e0..111fd96d4 100644
--- a/nx-X11/programs/Xserver/hw/nxagent/Screen.c
+++ b/nx-X11/programs/Xserver/hw/nxagent/Screen.c
@@ -2042,7 +2042,7 @@ N/A
}
else
{
- nxagentIconWindow = 0;
+ nxagentIconWindow = None;
}
/*
diff --git a/nx-X11/programs/Xserver/hw/nxagent/Window.c b/nx-X11/programs/Xserver/hw/nxagent/Window.c
index 3e27ae566..0e5def294 100644
--- a/nx-X11/programs/Xserver/hw/nxagent/Window.c
+++ b/nx-X11/programs/Xserver/hw/nxagent/Window.c
@@ -2654,7 +2654,7 @@ void nxagentMapDefaultWindows(void)
* Map the icon window.
*/
- if (nxagentIconWindow != 0)
+ if (nxagentIconWindow != None)
{
#ifdef TEST
fprintf(stderr, "nxagentMapDefaultWindows: Mapping icon window id [%ld].\n",