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>
This commit is contained in:
Dirk Hohndel 2013-05-22 21:25:05 -07:00
parent 7757363953
commit 115e5e5fbc
16 changed files with 116 additions and 130 deletions

View file

@ -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;
}