summaryrefslogtreecommitdiffstats
path: root/dive.c
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2014-03-05 12:19:45 -0800
committerGravatar Dirk Hohndel <dirk@hohndel.org>2014-03-05 13:02:23 -0800
commit1b103c5c69083a106e88cb423bab8ade639c71d6 (patch)
tree0105337ce49ba6b49a1d9f514d284f6e69bd3533 /dive.c
parent13a2f14be03d0493682917959e0a61bee686eced (diff)
downloadsubsurface-1b103c5c69083a106e88cb423bab8ade639c71d6.tar.gz
Another small tweak to whitespace tool
clang-format doesn't appear to reindent multi line #define statements correctly - so this hopefully will clean those up. The included whitespace corrections to the code should stay in place when using the updated tool. This includes cleaning up some multi-line comments that were messed up the last time around as well as a few other minor changes. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'dive.c')
-rw-r--r--dive.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/dive.c b/dive.c
index 5eef5bab0..0552c31da 100644
--- a/dive.c
+++ b/dive.c
@@ -1084,7 +1084,7 @@ static char *merge_text(const char *a, const char *b)
#define SORT(a, b, field) \
if (a->field != b->field) \
- return a->field < b->field ? -1 : 1
+ return a->field < b->field ? -1 : 1
static int sort_event(struct event *a, struct event *b)
{