diff options
Diffstat (limited to 'games')
-rw-r--r-- | games/mille/mille.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/games/mille/mille.c b/games/mille/mille.c index b8c15c5c7fd..a72197a5cd9 100644 --- a/games/mille/mille.c +++ b/games/mille/mille.c @@ -88,6 +88,11 @@ register char *av[]; { } Play = PLAYER; initscr(); + if ((LINES < 24) || (COLS < 80)) { + endwin(); + fprintf(stderr, "Screen must be at least 24x80\n"); + exit(1); + } delwin(stdscr); stdscr = Board = newwin(BOARD_Y, BOARD_X, 0, 0); Score = newwin(SCORE_Y, SCORE_X, 0, 40); |