On Mon, Nov 4, 2013 at 1:46 PM, Cameron Stewart <came...@shptech.com> wrote:
> ---
>  hw/xfree86/common/xf86Init.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/hw/xfree86/common/xf86Init.c b/hw/xfree86/common/xf86Init.c
> index 6282252..663c5f1 100644
> --- a/hw/xfree86/common/xf86Init.c
> +++ b/hw/xfree86/common/xf86Init.c
> @@ -560,7 +560,7 @@ InitOutput(ScreenInfo * pScreenInfo, int argc, char 
> **argv)
>
>          for (i = 0; i < xf86NumDrivers; i++) {
>                  if (xf86DriverList[i] == NULL) {
> -                        for (j = i; j < xf86NumDrivers; j++) {
> +                        for (j = i; j < xf86NumDrivers - 1; j++) {
>                              xf86DriverList[j] = xf86DriverList[j + 1];
>                          }
>                          xf86NumDrivers--;
> --
> 1.8.4.1
>

Sorry, whoops I didn't check, this is for the xwayland branch. It
fixes a bug introduced in 585f8f14.
_______________________________________________
xorg-devel@lists.x.org: X.Org development
Archives: http://lists.x.org/archives/xorg-devel
Info: http://lists.x.org/mailman/listinfo/xorg-devel

Reply via email to