[PATCH weston] Fix a typo.

Kristian Høgsberg hoegsberg at gmail.com
Tue Nov 13 12:56:36 PST 2012


On Sun, Nov 11, 2012 at 12:29:01AM -0800, Dima Ryazanov wrote:

Oh wow, nice typo.  Thanks, fix committed.
Kristian

> ---
>  src/evdev-touchpad.c |    2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/src/evdev-touchpad.c b/src/evdev-touchpad.c
> index 6a3217b..73c04eb 100644
> --- a/src/evdev-touchpad.c
> +++ b/src/evdev-touchpad.c
> @@ -160,7 +160,7 @@ get_touchpad_model(struct evdev_device *device)
>  	if (ioctl(device->fd, EVIOCGID, &id) < 0)
>  		return TOUCHPAD_MODEL_UNKNOWN;
>  
> -	for (i = 0; ARRAY_LENGTH(touchpad_spec_table); i++)
> +	for (i = 0; i < ARRAY_LENGTH(touchpad_spec_table); i++)
>  		if (touchpad_spec_table[i].vendor == id.vendor &&
>  		    (!touchpad_spec_table[i].product ||
>  		     touchpad_spec_table[i].product == id.product))
> -- 
> 1.7.10.4
> 
> _______________________________________________
> wayland-devel mailing list
> wayland-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/wayland-devel


More information about the wayland-devel mailing list