summaryrefslogtreecommitdiffstats
path: root/ppt
diff options
context:
space:
mode:
authorkim <kim@NetBSD.org>2002-11-26 21:39:18 +0000
committerkim <kim@NetBSD.org>2002-11-26 21:39:18 +0000
commit08f4d4c75d6e36a2cf7991ba93c9716982f438d3 (patch)
tree8d05a65c5e81e7216877ecdf39cde4a38a9e4b2b /ppt
parentfa7ee3ec13527b630a43d3f7c59cc7cf2fe04030 (diff)
downloadbsdgames-darwin-08f4d4c75d6e36a2cf7991ba93c9716982f438d3.tar.gz
bsdgames-darwin-08f4d4c75d6e36a2cf7991ba93c9716982f438d3.tar.zst
bsdgames-darwin-08f4d4c75d6e36a2cf7991ba93c9716982f438d3.zip
Don't skip the first arg.
Diffstat (limited to 'ppt')
-rw-r--r--ppt/ppt.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/ppt/ppt.c b/ppt/ppt.c
index 3cbe6022..f5a65256 100644
--- a/ppt/ppt.c
+++ b/ppt/ppt.c
@@ -1,4 +1,4 @@
-/* $NetBSD: ppt.c,v 1.12 2002/11/26 21:34:07 kim Exp $ */
+/* $NetBSD: ppt.c,v 1.13 2002/11/26 21:39:18 kim Exp $ */
/*
* Copyright (c) 1988, 1993
@@ -43,7 +43,7 @@ __COPYRIGHT("@(#) Copyright (c) 1988, 1993\n\
#if 0
static char sccsid[] = "@(#)ppt.c 8.1 (Berkeley) 5/31/93";
#else
-__RCSID("$NetBSD: ppt.c,v 1.12 2002/11/26 21:34:07 kim Exp $");
+__RCSID("$NetBSD: ppt.c,v 1.13 2002/11/26 21:39:18 kim Exp $");
#endif
#endif /* not lint */
@@ -117,10 +117,10 @@ main(argc, argv)
} else {
(void) puts(EDGE);
if (argc > 1)
- while ((p = *++argv)) {
+ while ((p = *argv++)) {
for (; *p; ++p)
putppt((int)*p);
- if ((*(argv + 1)))
+ if ((*(argv)))
putppt((int)' ');
}
else while ((c = getchar()) != EOF)