* Maksim Yevmenkin <maksim.yevmenkin_at_gmail.com> wrote: > the idea was to ensure that kbd->kb_locked variable only takes values > 0 (zero) and 1 (one). I often use constructs like these to do that: foo = bar ? 1 : 0; Maybe !!bar is a lot shorter to write, I think the line above is a lot easier to read. -- Ed Schouten <ed_at_80386.nl> WWW: http://80386.nl/
This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:38 UTC