ref: 55d7cc8d1d4fe834ed8658d0a6ac5b0c4821d9d2
parent: 087feb1e1d07b325d126ce315b9b4eba9cea9e59
author: Sigrid Haflínudóttir <[email protected]>
date: Mon Aug 24 04:07:17 EDT 2020
fix left-click
--- a/zuke.c
+++ b/zuke.c
@@ -993,11 +993,13 @@
redraw(1);
}else if(m.buttons == 1 || m.buttons == 2){
n += scroll;
- if(m.buttons == 2 && n < plnum){
+ if(n < plnum){
pcur = n;
- stop(playercurr);
- playercurr = newplayer(pcur, 1);
- start(playercurr);
+ if(m.buttons == 2){
+ stop(playercurr);
+ playercurr = newplayer(pcur, 1);
+ start(playercurr);
+ }
}
}
break;