subsurface/subsurface-core
Dirk Hohndel 788d65a527 Make code easier to read (and avoid warning)
The old expression wass correct because if dive_table.dives[j]->number is != 0,
then !dive_table.dives[j]->number is 0 and vice versa. But come on...
The new code seems much more natural and easier to read.
And of course the Apple compilers by default gave a warning because they
suspected a precedence bug with the old code.

Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2016-03-23 17:26:46 -07:00
..
2016-01-26 09:51:14 -08:00
2016-03-09 21:46:29 -08:00
2015-10-30 10:36:49 -07:00
2015-10-30 10:36:49 -07:00
2016-03-09 11:44:20 -08:00
2016-03-23 09:53:44 -07:00
2016-03-23 09:53:44 -07:00
2016-03-23 09:53:44 -07:00
2016-03-23 09:53:44 -07:00
2016-03-09 11:44:24 -08:00
2016-03-07 11:24:10 -08:00
2016-03-07 11:16:44 -08:00
2016-01-11 06:14:45 -08:00
2016-03-16 07:46:28 -07:00
2016-03-09 21:47:43 -08:00
2016-03-09 11:44:38 -08:00
2016-03-07 11:21:44 -08:00
2016-03-09 11:44:41 -08:00
2016-03-07 11:21:44 -08:00
2016-03-07 11:21:44 -08:00
2015-11-15 12:10:37 -08:00
2015-11-09 18:00:56 -08:00
2016-01-24 21:26:45 -08:00
2016-03-07 11:17:16 -08:00
2016-03-09 11:44:48 -08:00
2016-03-09 11:44:51 -08:00
2016-03-09 11:44:54 -08:00
2015-12-27 21:31:13 -08:00
2016-03-09 21:47:25 -08:00
2016-03-09 21:47:28 -08:00
2016-03-09 21:47:36 -08:00
2016-03-09 21:47:36 -08:00
2016-03-09 21:47:36 -08:00