summary refs log tree commit diff
path: root/Src/Modules/termcap.c
diff options
context:
space:
mode:
Diffstat (limited to 'Src/Modules/termcap.c')
-rw-r--r--Src/Modules/termcap.c2
1 files changed, 1 insertions, 1 deletions
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;
 }