home · contact · privacy
Remove redundant uses of NULL.
[plomrogue] / src / client / wincontrol.c
index 85750ec1f5005c9c1cc6ead76e808aa2fb7f6959..7dadbc8ed9dad49764a96ff0c9cd3e72d49d80f3 100644 (file)
@@ -220,7 +220,7 @@ static void suspend_win(struct Win * w)
 extern void toggle_window(char id)
 {
     struct Win * win = get_win_by_id(id);
-    if (NULL == strchr(world.winDB.order, id))
+    if (!strchr(world.winDB.order, id))
     {
         append_win(win);
         return;