Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/games/gomoku gomoku: fix error message for small screen
details: https://anonhg.NetBSD.org/src/rev/80b45cf6f314
branches: trunk
changeset: 366232:80b45cf6f314
user: rillig <rillig%NetBSD.org@localhost>
date: Thu May 19 17:02:51 2022 +0000
description:
gomoku: fix error message for small screen
- gomoku: Screen too small (need 8018d)
+ gomoku: Screen too small (need 80x24)
diffstat:
games/gomoku/bdisp.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r bf2826134a3f -r 80b45cf6f314 games/gomoku/bdisp.c
--- a/games/gomoku/bdisp.c Thu May 19 16:58:39 2022 +0000
+++ b/games/gomoku/bdisp.c Thu May 19 17:02:51 2022 +0000
@@ -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 @@
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);
Home |
Main Index |
Thread Index |
Old Index