aboutsummaryrefslogtreecommitdiff
path: root/nx-X11/programs/Xserver/hw/nxagent/Pixmap.c
diff options
context:
space:
mode:
authorUlrich Sibiller <uli42@gmx.de>2020-12-30 22:31:01 +0100
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2021-01-15 16:26:31 +0100
commitfec462906588e9adc4533b3814b200531e527f64 (patch)
treef944e6a42fc8eaba533dcbbed6225bb5246e22db /nx-X11/programs/Xserver/hw/nxagent/Pixmap.c
parent42f76ddeefb18c6e5120d10abc3e13354ff543a0 (diff)
downloadnx-libs-fec462906588e9adc4533b3814b200531e527f64.tar.gz
nx-libs-fec462906588e9adc4533b3814b200531e527f64.tar.bz2
nx-libs-fec462906588e9adc4533b3814b200531e527f64.zip
nxagent: treat all Traps as Booleans everywhere
Diffstat (limited to 'nx-X11/programs/Xserver/hw/nxagent/Pixmap.c')
-rw-r--r--nx-X11/programs/Xserver/hw/nxagent/Pixmap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/nx-X11/programs/Xserver/hw/nxagent/Pixmap.c b/nx-X11/programs/Xserver/hw/nxagent/Pixmap.c
index 13ac47d00..c04fe6f8b 100644
--- a/nx-X11/programs/Xserver/hw/nxagent/Pixmap.c
+++ b/nx-X11/programs/Xserver/hw/nxagent/Pixmap.c
@@ -200,7 +200,7 @@ PixmapPtr nxagentCreatePixmap(ScreenPtr pScreen, int width, int height,
* checksum.
*/
- if (width != 0 && height != 0 && nxagentGCTrap == 0)
+ if (width != 0 && height != 0 && !nxagentGCTrap)
{
pPixmapPriv -> id = XCreatePixmap(nxagentDisplay,
nxagentDefaultWindows[pScreen -> myNum],