summaryrefslogtreecommitdiff
path: root/lib/libtermlib
diff options
context:
space:
mode:
authorThorsten Lockert <tholo@cvs.openbsd.org>1996-06-16 08:56:57 +0000
committerThorsten Lockert <tholo@cvs.openbsd.org>1996-06-16 08:56:57 +0000
commit40ce08d099c33f581296ff7ce7055eaf92d8824b (patch)
tree35a2ac4f86d137685f1181a5881bc9346b4ce5f1 /lib/libtermlib
parent4afe361417bfb0ed28fa701cff47bc636e8e4017 (diff)
tparm() takes the args in the opposite order from tgoto() when using
terminfo style capabilities
Diffstat (limited to 'lib/libtermlib')
-rw-r--r--lib/libtermlib/tgoto.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/libtermlib/tgoto.c b/lib/libtermlib/tgoto.c
index b497f5da07e..b61b0a099d5 100644
--- a/lib/libtermlib/tgoto.c
+++ b/lib/libtermlib/tgoto.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: tgoto.c,v 1.1 1996/05/31 05:40:02 tholo Exp $ */
+/* $OpenBSD: tgoto.c,v 1.2 1996/06/16 08:56:56 tholo Exp $ */
/*
* Copyright (c) 1996 SigmaSoft, Th. Lockert <tholo@sigmasoft.com>
@@ -31,7 +31,7 @@
*/
#ifndef lint
-static char rcsid[] = "$OpenBSD: tgoto.c,v 1.1 1996/05/31 05:40:02 tholo Exp $";
+static char rcsid[] = "$OpenBSD: tgoto.c,v 1.2 1996/06/16 08:56:56 tholo Exp $";
#endif
#include <stdlib.h>
@@ -43,5 +43,5 @@ tgoto(CM, col, line)
const char *CM;
int col, line;
{
- return tparm(CM, col, line);
+ return tparm(CM, line, col);
}