Simon Tatham
5cb56389bd
Remove three uses of bitwise ops on boolean values.
...
If values are boolean, it's confusing to use & and | in place of &&
and ||. In two of these three cases it was simply a typo and I've used
the other one; in the third, it was a deliberate avoidance of short-
circuit evaluation (and commented as such), but having seen how easy
it is to make the same typo by accident, I've decided it's clearer to
just move the LHS and RHS evaluations outside the expression.
2018-11-03 13:25:16 +00:00
..
2014-02-22 18:01:32 +00:00
2018-10-25 18:49:17 +01:00
2018-11-03 13:25:16 +00:00
2018-09-19 23:08:07 +01:00
2018-10-28 09:14:53 +00:00
2018-09-28 19:23:08 +01:00
2018-10-28 09:14:53 +00:00
2018-10-11 19:58:42 +01:00
2018-11-03 08:09:29 +00:00
2018-10-06 07:28:51 +01:00
2018-10-25 18:49:17 +01:00
2018-05-09 09:21:27 +01:00
2018-10-26 23:05:53 +01:00
2017-12-20 10:04:02 +00:00
2017-11-26 11:45:48 +00:00
2016-03-23 22:22:48 +00:00
2017-11-26 11:45:48 +00:00
2016-03-23 22:22:48 +00:00
2018-10-25 18:49:17 +01:00
2018-10-21 10:16:16 +01:00
2018-05-25 14:36:16 +01:00
2018-10-21 10:16:16 +01:00
2018-10-11 19:58:42 +01:00
2018-10-21 10:02:10 +01:00
2018-06-03 15:15:51 +01:00
2018-04-26 07:21:16 +01:00
2018-08-25 14:38:47 +01:00
2018-10-21 10:02:10 +01:00
2017-02-15 19:32:42 +00:00
2009-09-16 22:28:20 +00:00
2015-05-18 14:03:10 +01:00
2018-10-21 10:02:10 +01:00
2018-10-21 10:02:10 +01:00
2018-10-21 10:02:10 +01:00
2018-10-06 07:28:51 +01:00
2018-10-21 13:43:44 +01:00
2018-10-06 07:28:51 +01:00
2017-05-14 16:34:48 +01:00
2018-10-11 19:58:42 +01:00
2018-10-29 07:23:32 +00:00
2018-10-11 19:58:42 +01:00
2018-10-21 13:43:44 +01:00
2018-10-06 07:28:51 +01:00
2018-10-07 14:05:53 +01:00
2018-10-06 11:57:59 +01:00
2016-03-20 18:30:03 +00:00
2018-05-09 09:21:27 +01:00