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 /warp/sm.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 'warp/sm.c')
-rw-r--r-- | warp/sm.c | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -3,7 +3,7 @@ /* Log: sm.c,v * Revision 7.0 86/10/08 15:13:35 lwall * Split into separate files. Added amoebas and pirates. - * + * */ #include <stdio.h> @@ -22,7 +22,7 @@ main(void) for (x=0; x<79; x++) screen[0][x] = ' '; screen[0][79] = '\0'; - + fgets(screen[0],90,stdin); if (isdigit(screen[0][0])) { int numstars = atoi(screen[0]); @@ -32,7 +32,7 @@ main(void) screen[y][x] = ' '; screen[y][79] = '\0'; } - + for ( ; numstars; numstars--) { scanf("%d %d\n",&tmpy,&tmpx); y = tmpy; @@ -52,7 +52,7 @@ main(void) screen[y][x] = ' '; screen[y][79] = '\0'; } - + for (y=1; y<23; y++) { fgets(screen[y],90,stdin); } |