summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog5
-rw-r--r--Src/Modules/termcap.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 902011fef..0dab1e4bc 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2005-03-02  Clint Adams  <clint@zsh.org>
+
+	* 20909: Src/Modules/termcap.c: reverse row and col
+	arguments to tgoto.
+
 2005-03-01  Peter Stephenson  <pws@csr.com>
 
 	* 20897: Completion/Unix/Command/_a2ps: complete system printers
diff --git a/Src/Modules/termcap.c b/Src/Modules/termcap.c
index 4c94038b2..deae7c190 100644
--- a/Src/Modules/termcap.c
+++ b/Src/Modules/termcap.c
@@ -155,7 +155,7 @@ bin_echotc(char *name, char **argv, UNUSED(Options ops), UNUSED(int func))
 	tputs(t, 1, putraw);
     else {
 	num = (argv[1]) ? atoi(argv[1]) : atoi(*argv);
-	tputs(tgoto(t, atoi(*argv), num), num, putraw);
+	tputs(tgoto(t, num, atoi(*argv)), num, putraw);
     }
     return 0;
 }