Ensure mousewheel clicks don't break chords. - 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 ca3f18dd65e8d34bf696c3f8a1dac06836ac7d8c
 (DIR) parent 671af52f913d608f39b9c91c9dc2545fd5d6467d
 (HTM) Author: Rob King <jking@deadpixi.com>
       Date:   Fri, 22 Jan 2016 09:55:19 -0600
       
       Ensure mousewheel clicks don't break chords.
       
       Credit for this patch goes to Tommy Pettersson.
       
       Diffstat:
         samterm/main.c                      |       2 +-
       
       1 file changed, 1 insertion(+), 1 deletion(-)
       ---
 (DIR) diff --git a/samterm/main.c b/samterm/main.c
       @@ -103,7 +103,7 @@ main(int argc, char *argv[])
                                if (chord == 1 && !mouse.buttons)
                                        chord = 0;
                                if (chord)
       -                                chord |= mouse.buttons;
       +                                chord |= mouse.buttons & 7;
                                else if(mouse.buttons&1){
                                        if(nwhich){
                                                if(nwhich!=which)