Commit fcb5e8a0 authored by Ulrich Sibiller's avatar Ulrich Sibiller

Rootless.c: Fix wrongly negated comparisons

parent df0fea79
...@@ -965,7 +965,7 @@ void nxagentImportProperty(Window window, ...@@ -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); WindowPtr icon = nxagentWindowPtr(wmHints.icon_window);
...@@ -986,7 +986,7 @@ void nxagentImportProperty(Window 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); PixmapPtr icon = nxagentPixmapPtr(wmHints.icon_mask);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment