Dereference pointers - scroll - scrollbackbuffer program for st
 (HTM) git clone git://git.suckless.org/scroll
 (DIR) Log
 (DIR) Files
 (DIR) Refs
 (DIR) README
 (DIR) LICENSE
       ---
 (DIR) commit 375c4e56368d6c833249896aa41735ecb97e4d2f
 (DIR) parent 434ce8c136a6e22ec20cbbd5ac113089039370c6
 (HTM) Author: Jochen Sprickerhof <git@jochen.sprickerhof.de>
       Date:   Tue, 21 Apr 2020 19:48:13 +0200
       
       Dereference pointers
       
       Thanks Quentin Rameau
       
       Diffstat:
         M scroll.c                            |       2 +-
       
       1 file changed, 1 insertion(+), 1 deletion(-)
       ---
 (DIR) diff --git a/scroll.c b/scroll.c
       @@ -233,7 +233,7 @@ getcursorposition(int *x, int *y)
                } while (sscanf(input, "\033[%d;%dR", x, y) != 2);
        
                if (*x <= 0 || *y <= 0)
       -                die("invalid cursor position: x=%d y=%d", x, y);
       +                die("invalid cursor position: x=%d y=%d", *x, *y);
        }
        
        void