Re: [dev] [st PATCH 3/4] Use != instead of ^ for logical values.

From: Roberto E. Vargas Caballero <k0ga_AT_shike2.com>
Date: Fri, 25 Apr 2014 17:35:47 +0200

> - if(sel.alt ^ IS_SET(MODE_ALTSCREEN))
> + if(sel.alt != IS_SET(MODE_ALTSCREEN))

This bit logical operation comes from another age when IS_SET
had not a comparision operator. It does not make sense anymore, so
this change is good.

Regards,

-- 
Roberto E. Vargas Caballero
Received on Fri Apr 25 2014 - 17:35:47 CEST

This archive was generated by hypermail 2.3.0 : Fri Apr 25 2014 - 17:48:03 CEST