diff options
author | Robert C. Helling <helling@atdotde.de> | 2020-03-11 11:30:51 +0100 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2020-03-11 08:26:30 -0700 |
commit | 285fa8acbceebf5dc87c5c3befe42a2917a3b844 (patch) | |
tree | 142efc52856b5f4bded40867a917800c241ebfb6 /core/profile.c | |
parent | cb28158b9abe10f08142f12f11ddbb5d23686fd5 (diff) | |
download | subsurface-285fa8acbceebf5dc87c5c3befe42a2917a3b844.tar.gz |
Grammar: replaces 'indexes' by 'indices'
Grammar-nazi ran
git grep -l 'indexes' | xargs sed -i '' -e 's/indexes/indices/g'
to prevent future wincing when reading the source code.
Unfortunatly, Qt itself is infected as in
QModelIndexList QItemSelection::indexes() const
Signed-off-by: Robert C. Helling <helling@atdotde.de>
Diffstat (limited to 'core/profile.c')
-rw-r--r-- | core/profile.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/core/profile.c b/core/profile.c index b79236151..88b48d1cd 100644 --- a/core/profile.c +++ b/core/profile.c @@ -217,7 +217,7 @@ static void analyze_plot_info_minmax(struct plot_info *pi, int entry_index) p--; } - // indexes to the min/max entries + // indices to the min/max entries min = max = entry_index; /* Then go forward until we hit an entry past the time */ @@ -314,7 +314,7 @@ struct plot_info *analyze_plot_info(struct plot_info *pi) * we return that. If it doesn't, we return the best * match based on the gasmix. * - * Some dive computers give cylinder indexes, some + * Some dive computers give cylinder indices, some * give just the gas mix. */ int get_cylinder_index(const struct dive *dive, const struct event *ev) |