On Fri, Mar 18, 2011 at 06:01:17PM -0700, Jason Gerecke wrote:
> Though this doesn't result in any bad behavior at the moment, it
> could cause some serious headaches in the future.
> 
> Signed-off-by: Jason Gerecke <killert...@gmail.com>
> ---
>  src/wcmXCommand.c |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
> 
> diff --git a/src/wcmXCommand.c b/src/wcmXCommand.c
> index 4f702b7..29b20ab 100644
> --- a/src/wcmXCommand.c
> +++ b/src/wcmXCommand.c
> @@ -300,7 +300,7 @@ static void wcmUpdateButtonKeyActions(DeviceIntPtr dev, 
> XIPropertyValuePtr prop,
>       for (i = 0; i < prop->size; i++)
>       {
>               /* keys is one based array to align with X buttons */
> -             memset(keys[i+1], 0, sizeof(keys[i]));
> +             memset(keys[i+1], 0, sizeof(keys[i+1]));
>  
>               if (!values[i])
>                       continue;
> -- 
> 1.7.1

merged, thanks
 
Cheers,
  Peter

------------------------------------------------------------------------------
Enable your software for Intel(R) Active Management Technology to meet the
growing manageability and security demands of your customers. Businesses
are taking advantage of Intel(R) vPro (TM) technology - will your software 
be a part of the solution? Download the Intel(R) Manageability Checker 
today! http://p.sf.net/sfu/intel-dev2devmar
_______________________________________________
Linuxwacom-devel mailing list
Linuxwacom-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linuxwacom-devel

Reply via email to