Matthieu Herrb <matth...@herrb.eu> writes:

> @@ -389,8 +389,7 @@ autoConfigDevice(GDevPtr preconf_device)
>  
>              /* for each other driver found, copy the first screen, insert it
>               * into the list of screens and set the driver */
> -            i = 0;
> -            while (i++ < num_matches) {
> +         for (i = 0; i < num_matches; i++) {

Looks like the old loop started copying at 1, and just went one screen
too far. Should this be:

            for (i = 1; i < num_matches; i++) {

-- 
-keith

Attachment: signature.asc
Description: PGP signature

_______________________________________________
xorg-devel@lists.x.org: X.Org development
Archives: http://lists.x.org/archives/xorg-devel
Info: https://lists.x.org/mailman/listinfo/xorg-devel

Reply via email to