From 1c75ca2e2dc72d118edbb854455e602d70d80a52 Mon Sep 17 00:00:00 2001 From: rillig Date: Sun, 2 May 2021 12:50:43 +0000 Subject: games: remove trailing whitespace in *.c and *.h --- gomoku/bdisp.c | 6 +++--- gomoku/main.c | 6 +++--- gomoku/stoc.c | 6 +++--- 3 files changed, 9 insertions(+), 9 deletions(-) (limited to 'gomoku') diff --git a/gomoku/bdisp.c b/gomoku/bdisp.c index db2e74a2..ce02706c 100644 --- a/gomoku/bdisp.c +++ b/gomoku/bdisp.c @@ -1,4 +1,4 @@ -/* $NetBSD: bdisp.c,v 1.17 2014/03/22 18:58:57 dholland Exp $ */ +/* $NetBSD: bdisp.c,v 1.18 2021/05/02 12:50:44 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.17 2014/03/22 18:58:57 dholland Exp $"); +__RCSID("$NetBSD: bdisp.c,v 1.18 2021/05/02 12:50:44 rillig Exp $"); #endif #endif /* not lint */ @@ -336,7 +336,7 @@ get_coord(void) nx = curx; ny = cury; for (;;) { - mvprintw(BSZ3, (BSZ -6)/2, "(%c %d) ", + mvprintw(BSZ3, (BSZ -6)/2, "(%c %d) ", 'A'+ ((curx > 7) ? (curx+1) : curx), cury + 1); BGOTO(cury, curx); diff --git a/gomoku/main.c b/gomoku/main.c index 26414ba6..8a4cf0fd 100644 --- a/gomoku/main.c +++ b/gomoku/main.c @@ -1,4 +1,4 @@ -/* $NetBSD: main.c,v 1.27 2016/06/12 02:15:26 dholland Exp $ */ +/* $NetBSD: main.c,v 1.28 2021/05/02 12:50:44 rillig Exp $ */ /* * Copyright (c) 1994 @@ -42,7 +42,7 @@ __COPYRIGHT("@(#) Copyright (c) 1994\ #if 0 static char sccsid[] = "@(#)main.c 8.4 (Berkeley) 5/4/95"; #else -__RCSID("$NetBSD: main.c,v 1.27 2016/06/12 02:15:26 dholland Exp $"); +__RCSID("$NetBSD: main.c,v 1.28 2021/05/02 12:50:44 rillig Exp $"); #endif #endif /* not lint */ @@ -324,7 +324,7 @@ again: if (i != RESIGN) { replay: ask("Play again? "); - ch = get_key("YyNnQqSs"); + ch = get_key("YyNnQqSs"); if (ch == 'Y' || ch == 'y') goto again; if (ch == 'S') { diff --git a/gomoku/stoc.c b/gomoku/stoc.c index c7b1eff8..2a926745 100644 --- a/gomoku/stoc.c +++ b/gomoku/stoc.c @@ -1,4 +1,4 @@ -/* $NetBSD: stoc.c,v 1.12 2009/08/12 06:19:17 dholland Exp $ */ +/* $NetBSD: stoc.c,v 1.13 2021/05/02 12:50:44 rillig Exp $ */ /* * Copyright (c) 1994 @@ -37,7 +37,7 @@ #if 0 static char sccsid[] = "@(#)stoc.c 8.1 (Berkeley) 7/24/94"; #else -__RCSID("$NetBSD: stoc.c,v 1.12 2009/08/12 06:19:17 dholland Exp $"); +__RCSID("$NetBSD: stoc.c,v 1.13 2021/05/02 12:50:44 rillig Exp $"); #endif #endif /* not lint */ @@ -53,7 +53,7 @@ struct mvstr { const char *m_text; }; static const struct mvstr mv[] = { - { RESIGN, "resign" }, + { RESIGN, "resign" }, { RESIGN, "quit" }, { SAVE, "save" }, { -1, 0 } -- cgit v1.2.3-56-ge451