[Openchrome-devel] xf86-video-openchrome: 2 commits - configure.ac src/via_outputs.c src/via_tv.c

Benno Schulenberg bensberg at justemail.net
Thu Sep 8 09:12:36 UTC 2016


> -            if ((~(sr13 & 0x08)) & (sr13 & 0x04)) {
> +            if ((!(sr13 & 0x08)) & (sr13 & 0x04)) {

> -        } else if ((sr13 & 0x08) && (~(sr12 & 0x10))) {
> +        } else if ((sr13 & 0x08) && (!(sr12 & 0x10))) {

Do you see the difference here?  Also the first if should use
an && between the two maskings.

Benno

-- 
http://www.fastmail.com - Email service worth paying for. Try it for free



More information about the Openchrome-devel mailing list