mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
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>
This commit is contained in:
parent
84b7a37869
commit
6cb30ba1b6
5 changed files with 24 additions and 24 deletions
|
@ -85,7 +85,7 @@ static int fill_samples(struct sample *s, int max_d, int avg_d, int max_t, doubl
|
|||
}
|
||||
|
||||
/* we have no average depth; instead of making up a random average depth
|
||||
* we should assume either a PADI recrangular profile (for short and/or
|
||||
* we should assume either a PADI rectangular profile (for short and/or
|
||||
* shallow dives) or more reasonably a six point profile with a 3 minute
|
||||
* safety stop at 5m */
|
||||
static void fill_samples_no_avg(struct sample *s, int max_d, int max_t, double slope)
|
||||
|
@ -129,7 +129,7 @@ struct divecomputer *fake_dc(struct divecomputer *dc)
|
|||
|
||||
/*
|
||||
* We want to fake the profile so that the average
|
||||
* depth ends up correct. However, in the absense of
|
||||
* depth ends up correct. However, in the absence of
|
||||
* a reasonable average, let's just make something
|
||||
* up. Note that 'avg_d == max_d' is _not_ a reasonable
|
||||
* average.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue