On Thu, Dec  2, 2010 at 09:26:27 -0800, James Jones wrote:

> +    for (i = 0; i < NUM_VERSIONS; i++) {
> +     if (supported_versions[i].major == rep.majorVersion &&
> +         supported_versions[i].minor == rep.minorVersion) {
> +         return &supported_versions[i];
> +     }
> +    }
> +
Should this look for the highest pair that has major == rep.majorVersion
and minor <= rep.minorVersion, so you don't need to add every minor
version that doesn't change the number of errors?

Cheers,
Julien
_______________________________________________
[email protected]: X.Org development
Archives: http://lists.x.org/archives/xorg-devel
Info: http://lists.x.org/mailman/listinfo/xorg-devel

Reply via email to