Committed a slighted changed version.

Em sáb, 25 de mai de 2019 às 08:45, Ranier VF <ranier_...@hotmail.com>
escreveu:

> Hi,
> Fix iup_globalattrib.c:
> --- ..\..\a\src\iup_globalattrib.c      Tue Apr 23 14:33:33 2019
> +++ iup_globalattrib.c  Sat May 25 08:42:08 2019
> @@ -133,7 +133,7 @@
>        iupdrvWarpPointer(x, y);
>      return;
>    }
> -  if (iupStrEqual(name, "MOUSEBUTTON"))
> +  if (value != NULL && iupStrEqual(name, "MOUSEBUTTON"))
>    {
>      int x, y, status;
>      char bt;
>
> if (sscanf(value, "%dx%d %c %d", &x, &y, &bt, &status) == 4)
> value can be NULL here.
>
> Best Regards,
> Ranier Vilela
> _______________________________________________
> Iup-users mailing list
> Iup-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/iup-users
>
_______________________________________________
Iup-users mailing list
Iup-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/iup-users

Reply via email to