diff options
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; } |