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 --- tetris/scores.c | 4 ++-- tetris/screen.c | 12 ++++++------ 2 files changed, 8 insertions(+), 8 deletions(-) (limited to 'tetris') diff --git a/tetris/scores.c b/tetris/scores.c index dc791612..c4d9d16a 100644 --- a/tetris/scores.c +++ b/tetris/scores.c @@ -1,4 +1,4 @@ -/* $NetBSD: scores.c,v 1.25 2020/09/07 00:31:11 mrg Exp $ */ +/* $NetBSD: scores.c,v 1.26 2021/05/02 12:50:46 rillig Exp $ */ /*- * Copyright (c) 1992, 1993 @@ -550,7 +550,7 @@ getscores(int *fdp) } } } - + if (fdp) *fdp = sd; diff --git a/tetris/screen.c b/tetris/screen.c index d723b54e..bb0da760 100644 --- a/tetris/screen.c +++ b/tetris/screen.c @@ -1,4 +1,4 @@ -/* $NetBSD: screen.c,v 1.33 2017/03/20 22:05:27 christos Exp $ */ +/* $NetBSD: screen.c,v 1.34 2021/05/02 12:50:46 rillig Exp $ */ /*- * Copyright (c) 1992, 1993 @@ -320,10 +320,10 @@ scr_update(void) /* draw preview of nextpattern */ if (showpreview && (nextshape != lastshape)) { static int r=5, c=2; - int tr, tc, t; + int tr, tc, t; lastshape = nextshape; - + /* clean */ putpad(exit_standout_mode); moveto(r-1, c-1); putstr(" "); @@ -333,7 +333,7 @@ scr_update(void) moveto(r-3, c-2); putstr("Next shape:"); - + /* draw */ setcolor(nextshape->color); putpad(enter_standout_mode); @@ -351,7 +351,7 @@ scr_update(void) } putpad(exit_standout_mode); } - + bp = &board[D_FIRST * B_COLS]; sp = &curscreen[D_FIRST * B_COLS]; for (j = D_FIRST; j < D_LAST; j++) { @@ -417,7 +417,7 @@ scr_update(void) void scr_msg(char *s, int set) { - + if (set || clr_eol == NULL) { int l = strlen(s); -- cgit v1.2.3-56-ge451