[PATCH] dive.c: fix a couple of comment typos

Lubomir I. Ivanov neolit123 at gmail.com
Mon Nov 16 01:42:36 PST 2015


From: "Lubomir I. Ivanov" <neolit123 at gmail.com>

Signed-off-by: Lubomir I. Ivanov <neolit123 at gmail.com>
---
 subsurface-core/dive.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/subsurface-core/dive.c b/subsurface-core/dive.c
index 2dc0175..52175db 100644
--- a/subsurface-core/dive.c
+++ b/subsurface-core/dive.c
@@ -1729,7 +1729,7 @@ int gasmix_distance(const struct gasmix *a, const struct gasmix *b)
 }
 
 /* fill_pressures(): Compute partial gas pressures in bar from gasmix and ambient pressures, possibly for OC or CCR, to be
- * extended to PSCT. This function does the calculations of gases pressures applicable to a single point on the dive profile.
+ * extended to PSCT. This function does the calculations of gas pressures applicable to a single point on the dive profile.
  * The structure "pressures" is used to return calculated gas pressures to the calling software.
  * Call parameters:	po2 = po2 value applicable to the record in calling function
  *			amb_pressure = ambient pressure applicable to the record in calling function
@@ -2807,7 +2807,7 @@ int count_dives_with_suit(const char *suit)
  *     one single dive with multiple dive computers.
  *
  *     This is the "try_to_merge()" case, which will have offset == 0,
- *     even if the dive times moth be different.
+ *     even if the dive times might be different.
  */
 struct dive *merge_dives(struct dive *a, struct dive *b, int offset, bool prefer_downloaded)
 {
-- 
1.7.11.msysgit.0



More information about the subsurface mailing list