]> granicus.if.org Git - nethack/commitdiff
fix build break when there's no #define for CLIPPING
authornhmall <nhmall@nethack.org>
Thu, 27 Feb 2020 02:38:38 +0000 (21:38 -0500)
committernhmall <nhmall@nethack.org>
Thu, 27 Feb 2020 02:38:38 +0000 (21:38 -0500)
win/tty/wintty.c

index 084f82939eb53823b9a09eb8cf9362335f59dd2b..8a54430d6059e96f3aaa44bf7f93ae89089d4374 100644 (file)
@@ -445,7 +445,7 @@ char **argv UNUSED;
     if (tty_procs.wincap2 & WC2_STATUSLINES)
         set_wc2_option_mod_status(WC2_STATUSLINES,
 #ifndef CLIPPING
-                                  (LI < 1 + ROWNO + 2) ? DISP_IN_GAME :
+                                  (LI < 1 + ROWNO + 2) ? set_gameview :
 #endif
                                    set_in_game);
 }