On Tue, Jul 21, 2015 at 11:07:56AM +0100, Jonathan Wakely wrote: > For example this can't be right: > if (rgb1[0] == rgb1[1] == rgb1[2]) { Ouch. *Digs back in memory* -- so if rgb1[0] and rgb1[1] are equal and rgb1[2] is 1, or if rgb1[0] and rgb1[1] are *not* equal and rgb[2] is 0, this will be true, and in all other cases false. Perfectly valid code! -- Matthew Miller <mattdm@xxxxxxxxxxxxxxxxx> Fedora Project Leader -- devel mailing list devel@xxxxxxxxxxxxxxxxxxxxxxx https://admin.fedoraproject.org/mailman/listinfo/devel Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct