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 --- warp/sm.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'warp/sm.c') diff --git a/warp/sm.c b/warp/sm.c index a91c64ac..e50934b2 100644 --- a/warp/sm.c +++ b/warp/sm.c @@ -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 @@ -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); } -- cgit v1.2.3-56-ge451