aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Sibiller <uli42@gmx.de>2016-12-13 01:56:57 +0100
committerUlrich Sibiller <uli42@gmx.de>2017-03-10 19:44:21 +0100
commitfcb5e8a0e5f39351d66061ab4048edd6a5a58ea8 (patch)
tree994546134e4b347c22309b89bbf81326c92d514a
parentdf0fea79bf58b8b1106cd42b90af42ef4aaed52e (diff)
downloadnx-libs-fcb5e8a0e5f39351d66061ab4048edd6a5a58ea8.tar.gz
nx-libs-fcb5e8a0e5f39351d66061ab4048edd6a5a58ea8.tar.bz2
nx-libs-fcb5e8a0e5f39351d66061ab4048edd6a5a58ea8.zip
Rootless.c: Fix wrongly negated comparisons
-rw-r--r--nx-X11/programs/Xserver/hw/nxagent/Rootless.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/nx-X11/programs/Xserver/hw/nxagent/Rootless.c b/nx-X11/programs/Xserver/hw/nxagent/Rootless.c
index 68c6890d8..34902456d 100644
--- a/nx-X11/programs/Xserver/hw/nxagent/Rootless.c
+++ b/nx-X11/programs/Xserver/hw/nxagent/Rootless.c
@@ -965,7 +965,7 @@ void nxagentImportProperty(Window window,
}
}
- if ((wmHints.flags & IconWindowHint) && (wmHints.icon_window =! None))
+ if ((wmHints.flags & IconWindowHint) && (wmHints.icon_window != None))
{
WindowPtr icon = nxagentWindowPtr(wmHints.icon_window);
@@ -986,7 +986,7 @@ void nxagentImportProperty(Window window,
}
}
- if ((wmHints.flags & IconMaskHint) && (wmHints.icon_mask =! None))
+ if ((wmHints.flags & IconMaskHint) && (wmHints.icon_mask != None))
{
PixmapPtr icon = nxagentPixmapPtr(wmHints.icon_mask);