diff options
-rw-r--r-- | dix/ptrveloc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/dix/ptrveloc.c b/dix/ptrveloc.c index ccd445e86..c40fbc0d6 100644 --- a/dix/ptrveloc.c +++ b/dix/ptrveloc.c @@ -443,7 +443,7 @@ DoGetDirection(int dx, int dy){ float r; int i1, i2; /* on insignificant mickeys, flag 135 degrees */ - if(abs(dx) < 2 && abs(dy < 2)){ + if(abs(dx) < 2 && abs(dy) < 2){ /* first check diagonal cases */ if(dx > 0 && dy > 0) return 4+8+16; |