]> code.citadel.org Git - citadel.git/blobdiff - citadel/screen.c
Patches from Matt with slight mod from me to do without strlen. Also modified lprintf...
[citadel.git] / citadel / screen.c
index 398f945ce8ce570cb9327f9420cf9c09a7828e5f..a1d8abd7546f0c477d62725f061458e36fc40684 100644 (file)
@@ -86,7 +86,7 @@ void status_line(const char *humannode, const char *site_location,
 #if defined(HAVE_CURSES_H) && !defined(DISABLE_CURSES)
 void wait_indicator(int state) {
 
-       if (!isendwin() && statuswindow) {
+       if (statuswindow && !isendwin()) {
 
                mvwinch(statuswindow, 0, screenwidth - 2);
                switch (state) {