miscellaneous cleanups before release of 4.1

git-svn-id: svn://svn.code.sf.net/p/qjoypad/code/trunk@127 c05e91a0-76c8-4ec0-b377-ef19ce7cc080
This commit is contained in:
John Toman
2010-02-03 03:12:13 +00:00
committed by virtuoussin13
parent 6b504e67b2
commit 6e0954ea38
5 changed files with 4 additions and 6 deletions

View File

@ -360,7 +360,7 @@ void Axis::move( bool press ) {
// mouse by the rounded magnitude
sumDist += fdist;
dist = static_cast<int>(rint(sumDist));
sumDist -= dist;
sumDist -= dist;
}
//if not gradient, always go full speed.
else dist = maxSpeed;