summaryrefslogtreecommitdiffstats
path: root/libdivecomputer.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 /libdivecomputer.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 'libdivecomputer.c')
-rw-r--r--libdivecomputer.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/libdivecomputer.c b/libdivecomputer.c
index 312f83c9a..576b00d5a 100644
--- a/libdivecomputer.c
+++ b/libdivecomputer.c
@@ -183,9 +183,9 @@ sample_cb(dc_sample_type_t type, dc_sample_value_t value, void *userdata)
sample = dc->samples ? dc->sample + dc->samples - 1 : NULL;
/*
- * Ok, sanity check.
- * If first sample is not a DC_SAMPLE_TIME, Allocate a sample for us
- */
+ * Ok, sanity check.
+ * If first sample is not a DC_SAMPLE_TIME, Allocate a sample for us
+ */
if (sample == NULL && type != DC_SAMPLE_TIME)
sample = prepare_sample(dc);