summaryrefslogtreecommitdiffstats
path: root/subsurface-core/datatrak.c
diff options
context:
space:
mode:
authorGravatar Stephen Hemminger <stephen@networkplumber.org>2015-11-15 10:15:40 -0800
committerGravatar Dirk Hohndel <dirk@hohndel.org>2015-11-15 12:10:37 -0800
commit6cb30ba1b68805e0a7306cd6f54da4afe3148d4b (patch)
tree185ebf22716066b9b167a3a7f84404affd021193 /subsurface-core/datatrak.c
parent84b7a37869ac87aea595b57075d895d0035026d0 (diff)
downloadsubsurface-6cb30ba1b68805e0a7306cd6f54da4afe3148d4b.tar.gz
simple spelling changes
Fix obvious spelling mistakes in comments (and one error message). Yes, this is trivial but I saw one while reviewing some of the code and after that decided to run code through some tools. Signed-off-by: Stephen Hemminger <stephen@networkplumber.org> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'subsurface-core/datatrak.c')
-rw-r--r--subsurface-core/datatrak.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/subsurface-core/datatrak.c b/subsurface-core/datatrak.c
index 03fa71a50..fb05c1701 100644
--- a/subsurface-core/datatrak.c
+++ b/subsurface-core/datatrak.c
@@ -37,7 +37,7 @@ static unsigned char *byte_to_bits(unsigned char byte)
/*
* Datatrak stores the date in days since 01-01-1600, while Subsurface uses
- * time_t (seconds since 00:00 01-01-1970). Function substracts
+ * time_t (seconds since 00:00 01-01-1970). Function subtracts
* (1970 - 1600) * 365,2425 = 135139,725 to our date variable, getting the
* days since Epoch.
*/
@@ -123,7 +123,7 @@ static struct sample *dtrak_profile(struct dive *dt_dive, FILE *archivo)
}
free(byte);
- // In commit 5f44fdd setpoint replaced po2, so although this is not necesarily CCR dive ...
+ // In commit 5f44fdd setpoint replaced po2, so although this is not necessarily CCR dive ...
if (is_O2)
sample->setpoint.mbar = calculate_depth_to_mbar(sample->depth.mm, dt_dive->surface_pressure, 0) * o2percent / 100;
j++;