diff options
author | Anton Lundin <glance@acc.umu.se> | 2013-12-11 21:21:52 +0100 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2013-12-11 22:19:37 +0100 |
commit | 2419e074f41d763db6a2354f94915a69ca0ef725 (patch) | |
tree | 1060190676c20aed463676773c2736b6ef7d5f65 | |
parent | 78acf20848c071cfd1705cbe3bea1d60373a022a (diff) | |
download | subsurface-2419e074f41d763db6a2354f94915a69ca0ef725.tar.gz |
Fix some whitespace damage
Signed-off-by: Anton Lundin <glance@acc.umu.se>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
-rw-r--r-- | parse-xml.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/parse-xml.c b/parse-xml.c index 52abf895a..9287e0815 100644 --- a/parse-xml.c +++ b/parse-xml.c @@ -249,16 +249,16 @@ static void divetags(char *buffer, void *_tags) } } i++; - } - if (state == FINDEND) { - if (end < start) - end = strlen(buffer)-1; - if (strlen(buffer) > 0) { + } + if (state == FINDEND) { + if (end < start) + end = strlen(buffer)-1; + if (strlen(buffer) > 0) { buffer[end-start+1] = '\0'; state=FINDSTART; taglist_add_tag(tags, buffer+start); - } - } + } + } } enum number_type { @@ -514,7 +514,7 @@ static void temperature(char *buffer, void *_temperature) } /* temperatures outside -40C .. +70C should be ignored */ if (temperature->mkelvin < ZERO_C_IN_MKELVIN - 40000 || - temperature->mkelvin > ZERO_C_IN_MKELVIN + 70000) + temperature->mkelvin > ZERO_C_IN_MKELVIN + 70000) temperature->mkelvin = 0; } |