X-Git-Url: https://plomlompom.com/repos/?a=blobdiff_plain;f=src%2Fclient%2Fwincontrol.c;h=eb9270b411130e5f4ce38471de247a817060857c;hb=a18ffcfc0b1527b5751ff9c76b8bdb7ee181a764;hp=85750ec1f5005c9c1cc6ead76e808aa2fb7f6959;hpb=1cb57a35a3b3cc4ec8870531ca254a655c0bdda2;p=plomrogue diff --git a/src/client/wincontrol.c b/src/client/wincontrol.c index 85750ec..eb9270b 100644 --- a/src/client/wincontrol.c +++ b/src/client/wincontrol.c @@ -1,4 +1,9 @@ -/* src/client/wincontrol.c */ +/* src/client/wincontrol.c + * + * This file is part of PlomRogue. PlomRogue is licensed under the GPL version 3 + * or any later version. For details on its copyright, license, and warranties, + * see the file NOTICE in the root directory of the PlomRogue source package. + */ #include "wincontrol.h" #include /* getmaxx(), getmaxy(), wresize() */ @@ -220,7 +225,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;