On 04/20/2011 08:28 AM, Peter Hutterer wrote:
> Signed-off-by: Peter Hutterer <[email protected]>
> ---
>  dix/ptrveloc.c |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
> 
> diff --git a/dix/ptrveloc.c b/dix/ptrveloc.c
> index ccd445e..c40fbc0 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;
Reviewed-by: Simon Thum <[email protected]>

Cheers,

Simon
_______________________________________________
[email protected]: X.Org development
Archives: http://lists.x.org/archives/xorg-devel
Info: http://lists.x.org/mailman/listinfo/xorg-devel

Reply via email to