Module Name: src
Committed By: rillig
Date: Thu May 19 17:02:51 UTC 2022
Modified Files:
src/games/gomoku: bdisp.c
Log Message:
gomoku: fix error message for small screen
- gomoku: Screen too small (need 8018d)
+ gomoku: Screen too small (need 80x24)
To generate a diff of this commit:
cvs rdiff -u -r1.29 -r1.30 src/games/gomoku/bdisp.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/gomoku/bdisp.c
diff -u src/games/gomoku/bdisp.c:1.29 src/games/gomoku/bdisp.c:1.30
--- src/games/gomoku/bdisp.c:1.29 Thu May 19 16:58:39 2022
+++ src/games/gomoku/bdisp.c Thu May 19 17:02:51 2022
@@ -1,4 +1,4 @@
-/* $NetBSD: bdisp.c,v 1.29 2022/05/19 16:58:39 rillig Exp $ */
+/* $NetBSD: bdisp.c,v 1.30 2022/05/19 17:02:51 rillig Exp $ */
/*
* Copyright (c) 1994
@@ -37,7 +37,7 @@
#if 0
static char sccsid[] = "@(#)bdisp.c 8.2 (Berkeley) 5/3/95";
#else
-__RCSID("$NetBSD: bdisp.c,v 1.29 2022/05/19 16:58:39 rillig Exp $");
+__RCSID("$NetBSD: bdisp.c,v 1.30 2022/05/19 17:02:51 rillig Exp $");
#endif
#endif /* not lint */
@@ -64,7 +64,7 @@ cursinit(void)
errx(EXIT_FAILURE, "Couldn't initialize screen");
}
if ((LINES < SCRNH) || (COLS < SCRNW)) {
- errx(EXIT_FAILURE, "Screen too small (need %d%xd)",
+ errx(EXIT_FAILURE, "Screen too small (need %dx%d)",
SCRNW, SCRNH);
}
keypad(stdscr, true);