shithub: qk2

Download patch

ref: cc89ba80b3f821fdff89ff66f3541a17959e7ea2
parent: f88b27b503b2614a2d4f6c58b1b7c35e536bee5b
author: Konstantinn Bonnet <[email protected]>
date: Wed Mar 18 11:17:23 EDT 2015

fix brain fart with m_filter

some day, a real rain will come down to wash shit programmers like me off the streets.

--- a/plan9/in_9.c
+++ b/plan9/in_9.c
@@ -96,8 +96,8 @@
 		return;
 
 	if(m_filter->value){
-		mx = (mx + oldmx) * 0.5;
-		my = (my + oldmy) * 0.5;
+		mx = (dx + oldmx) * 0.5;
+		my = (dy + oldmy) * 0.5;
 	}else{
 		mx = dx;
 		my = dy;