[hackers] [scroll] Fix warning for too many arguments for format || Steve Ward

From: <git_AT_suckless.org>
Date: Thu, 30 Apr 2020 16:20:20 +0200 (CEST)

commit 58c58743d8f391ef0e4776fc46d92c824795d162
Author: Steve Ward <planet36_AT_gmail.com>
AuthorDate: Thu Apr 30 07:28:00 2020 -0400
Commit: Jochen Sprickerhof <git_AT_jochen.sprickerhof.de>
CommitDate: Thu Apr 30 16:20:12 2020 +0200

    Fix warning for too many arguments for format

diff --git a/ptty.c b/ptty.c
index c99c010..bbbb99f 100644
--- a/ptty.c
+++ b/ptty.c
_AT_@ -130,7 +130,7 @@ main(int argc, char *argv[])
 
                         /* handle cursor position request */
                         if (strcmp("\033[6n", buf) == 0) {
- dprintf(mfd, "\033[25;1R", 1, 1);
+ dprintf(mfd, "\033[25;1R");
                                 continue;
                         }
 
Received on Thu Apr 30 2020 - 16:20:20 CEST

This archive was generated by hypermail 2.3.0 : Thu Apr 30 2020 - 16:24:33 CEST