diff options
author | rillig <rillig@NetBSD.org> | 2021-05-02 12:50:43 +0000 |
---|---|---|
committer | Cameron Katri <me@cameronkatri.com> | 2021-05-05 14:56:21 -0400 |
commit | 1c75ca2e2dc72d118edbb854455e602d70d80a52 (patch) | |
tree | a815eb983fa15e7c407095122e37acb90093be9a /adventure/setup.c | |
parent | 2442661e769456700d67fac92056d18b3046633e (diff) | |
download | bsdgames-darwin-1c75ca2e2dc72d118edbb854455e602d70d80a52.tar.gz bsdgames-darwin-1c75ca2e2dc72d118edbb854455e602d70d80a52.tar.zst bsdgames-darwin-1c75ca2e2dc72d118edbb854455e602d70d80a52.zip |
games: remove trailing whitespace in *.c and *.h
Diffstat (limited to 'adventure/setup.c')
-rw-r--r-- | adventure/setup.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/adventure/setup.c b/adventure/setup.c index 36a7c0e9..d3e303a8 100644 --- a/adventure/setup.c +++ b/adventure/setup.c @@ -1,4 +1,4 @@ -/* $NetBSD: setup.c,v 1.11 2005/07/01 00:03:36 jmc Exp $ */ +/* $NetBSD: setup.c,v 1.12 2021/05/02 12:50:43 rillig Exp $ */ /*- * Copyright (c) 1991, 1993 @@ -39,7 +39,7 @@ static char copyright[] = "@(#) Copyright (c) 1991, 1993\n\ #if 0 static char sccsid[] = "@(#)setup.c 8.1 (Berkeley) 5/31/93"; #else -static char rcsid[] = "$NetBSD: setup.c,v 1.11 2005/07/01 00:03:36 jmc Exp $"; +static char rcsid[] = "$NetBSD: setup.c,v 1.12 2021/05/02 12:50:43 rillig Exp $"; #endif #endif /* not lint */ @@ -98,7 +98,7 @@ main(int argc, char *argv[]) while ((c = getc(infile)) != EOF) { if (linestart && c == ' ') { /* Convert first spaces to tab */ - printf("0x%02x,", + printf("0x%02x,", (unsigned int)('\t' ^ random()) & 0xFF); while ((c = getc(infile)) == ' ' && c != EOF); /* Drop the non-whitespace character through */ |