summaryrefslogtreecommitdiff
path: root/games/adventure/wizard.c
diff options
context:
space:
mode:
authorkstailey <kstailey@cvs.openbsd.org>1997-07-23 20:05:17 +0000
committerkstailey <kstailey@cvs.openbsd.org>1997-07-23 20:05:17 +0000
commit24ebfd27177ba2d49b2fd2e9d5b5fba3df35744c (patch)
treef301459f6e2160b59f102e5506c37de2f4c48251 /games/adventure/wizard.c
parentec11c0c45f17c8fcab3c1dcd043b3cd0b55c4c82 (diff)
tabify
Diffstat (limited to 'games/adventure/wizard.c')
-rw-r--r--games/adventure/wizard.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/games/adventure/wizard.c b/games/adventure/wizard.c
index aad20539674..c01a76509e2 100644
--- a/games/adventure/wizard.c
+++ b/games/adventure/wizard.c
@@ -46,7 +46,7 @@ static char rcsid[] = "$NetBSD: wizard.c,v 1.3 1995/04/24 12:21:41 cgd Exp $";
#endif
#endif /* not lint */
-/* Re-coding of advent in C: privileged operations */
+/* Re-coding of advent in C: privileged operations */
# include "hdr.h"
#include <string.h>
@@ -59,10 +59,10 @@ int *d,*t;
time(tvec);
tptr=(int *)localtime(tvec);
*d=tptr[7]+365*(tptr[5]-77); /* day since 1977 (mod leap) */
- /* bug: this will overflow in the year 2066 AD */
+ /* bug: this will overflow in the year 2066 AD */
/* it will be attributed to Wm the C's millenial celebration */
- *t=tptr[2]*60+tptr[1]; /* and minutes since midnite */
-} /* pretty painless */
+ *t=tptr[2]*60+tptr[1]; /* and minutes since midnite */
+} /* pretty painless */
char magic[6];
@@ -98,7 +98,7 @@ Start(n)
return(FALSE);
}
-wizard() /* not as complex as advent/10 (for now) */
+wizard() /* not as complex as advent/10 (for now) */
{ register int wiz;
char *word,*x;
if (!yesm(16,0,7)) return(FALSE);
@@ -123,7 +123,7 @@ char *cmdfile;
for (c=fname;; c++)
if ((*c=getchar())=='\n' || *c == EOF) break;
*c=0;
- if (save(fname) != 0) return; /* Save failed */
+ if (save(fname) != 0) return; /* Save failed */
printf("To resume, say \"adventure %s\".\n", fname);
printf("\"With these rooms I might now have been familiarly acquainted.\"\n");
exit(0);