Module Name:    src
Committed By:   christos
Date:           Tue Nov 10 22:52:46 UTC 2020

Modified Files:
        src/games/warp: term.c

Log Message:
don't segv if the terminal is too big.


To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 src/games/warp/term.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/games/warp/term.c
diff -u src/games/warp/term.c:1.4 src/games/warp/term.c:1.5
--- src/games/warp/term.c:1.4	Tue Nov 10 17:42:19 2020
+++ src/games/warp/term.c	Tue Nov 10 17:52:45 2020
@@ -286,6 +286,8 @@ term_set(char *tcbuf) /* temp area for "
 	no_can_do("dumb");
     if (!scorespec && (LINES < 24 || COLS < 80))
 	no_can_do("puny");
+    if (LINES > 25)
+	no_can_do("humongus");
 
     crmode();
     raw();

Reply via email to