summaryrefslogtreecommitdiffstats
path: root/usr.bin/tput/tput.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr.bin/tput/tput.c')
-rw-r--r--usr.bin/tput/tput.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.bin/tput/tput.c b/usr.bin/tput/tput.c
index 8da0be7..f587492 100644
--- a/usr.bin/tput/tput.c
+++ b/usr.bin/tput/tput.c
@@ -38,7 +38,7 @@ static char copyright[] =
#endif /* not lint */
#ifndef lint
-static char sccsid[] = "@(#)tput.c 8.2 (Berkeley) 3/19/94";
+static char sccsid[] = "@(#)tput.c 8.3 (Berkeley) 4/28/95";
#endif /* not lint */
#include <sys/termios.h>
@@ -183,11 +183,11 @@ process(cap, str, argv)
case 2:
if (*++argv == NULL || *argv[0] == '\0')
errx(2, errfew, 2, cap);
- arg_cols = atoi(*argv);
+ arg_rows = atoi(*argv);
if (*++argv == NULL || *argv[0] == '\0')
errx(2, errfew, 2, cap);
- arg_rows = atoi(*argv);
+ arg_cols = atoi(*argv);
(void) tputs(tgoto(str, arg_cols, arg_rows), arg_rows, outc);
break;
OpenPOWER on IntegriCloud