diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2013-05-22 21:25:05 -0700 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2013-05-22 21:31:45 -0700 |
commit | 115e5e5fbc5fcf190ceafaa2b800160cec93d52e (patch) | |
tree | 81f8308c48c11b7b3ff393ab35b3ae6999351d5c /divelist.c | |
parent | 775736395363ddfe65387b6e05d37546a4601ab9 (diff) | |
download | subsurface-115e5e5fbc5fcf190ceafaa2b800160cec93d52e.tar.gz |
The never ending, futile fight for whitespace consistency
I just need to write a tool that does this...
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'divelist.c')
-rw-r--r-- | divelist.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/divelist.c b/divelist.c index 75f427892..68e9cf4e6 100644 --- a/divelist.c +++ b/divelist.c @@ -194,9 +194,9 @@ void get_dive_gas(struct dive *dive, int *o2_p, int *he_p, int *o2low_p) int used = 0; int first_gas_explicit = 0; - while (dc){ + while (dc) { struct event *event = dc->events; - while(event){ + while (event) { if (event->value) { if (event->name && !strcmp(event->name, "gaschange")) { unsigned int event_he = event->value >> 16; @@ -204,7 +204,7 @@ void get_dive_gas(struct dive *dive, int *o2_p, int *he_p, int *o2low_p) if (event->time.seconds < 30) first_gas_explicit = 1; - if (is_air(o2, he)){ + if (is_air(o2, he)) { if (is_air(event_o2 * 10, event_he * 10)) used = 1; } |