Fix misdirected scroll button. - sam - An updated version of the sam text editor.
 (HTM) git clone git://vernunftzentrum.de/sam.git
 (DIR) Log
 (DIR) Files
 (DIR) Refs
 (DIR) LICENSE
       ---
 (DIR) commit ef016d36d110df51405390d77b783e91545fbad6
 (DIR) parent 03cb67e61d14c9e68b8308230b585068587a164e
 (HTM) Author: Rob King <jking@deadpixi.com>
       Date:   Mon,  2 May 2016 11:55:04 -0500
       
       Fix misdirected scroll button.
       
       Diffstat:
         samterm/main.c                      |       2 +-
       
       1 file changed, 1 insertion(+), 1 deletion(-)
       ---
 (DIR) diff --git a/samterm/main.c b/samterm/main.c
       @@ -137,7 +137,7 @@ main(int argc, char *argv[])
                                        center(which, which->origin+which->f.nchars+1);
                                }else if((mouse.buttons&8)){
                                        flushtyping(0);
       -                                outTsll(Torigin, t->tag, which->origin, which->f.maxlines+1);
       +                                outTsll(Torigin, ((Text *)(which->user1))->tag, which->origin, which->f.maxlines+1);
                                }
                                mouseunblock();
                        }