[PATCH 15/20] dix: Don't use short as bool
Simon Thum
simon.thum at gmx.de
Wed Apr 20 15:35:33 PDT 2011
On 04/20/2011 08:28 AM, Peter Hutterer wrote:
> Signed-off-by: Peter Hutterer <peter.hutterer at who-t.net>
> ---
> dix/ptrveloc.c | 2 +-
> 1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/dix/ptrveloc.c b/dix/ptrveloc.c
> index 970212c..27def47 100644
> --- a/dix/ptrveloc.c
> +++ b/dix/ptrveloc.c
> @@ -718,7 +718,7 @@ ApplySofteningAndConstantDeceleration(
> int dy,
> float* fdx,
> float* fdy,
> - short do_soften)
> + BOOL do_soften)
> {
> if (do_soften && vel->use_softening) {
> *fdx = ApplySimpleSoftening(vel->last_dx, dx);
Reviewed-by: Simon Thum <simon.thum at gmx.de>
Though now that it's bool, the do_ prefix became pointless.
Cheers,
Simon
More information about the xorg-devel
mailing list