diff options
Diffstat (limited to 'core')
-rw-r--r-- | core/fulltext.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/fulltext.cpp b/core/fulltext.cpp index 2e27d8524..9dc6d826c 100644 --- a/core/fulltext.cpp +++ b/core/fulltext.cpp @@ -127,7 +127,7 @@ static std::vector<QString> getWords(const dive *d) for (const tag_entry *tag = d->tag_list; tag; tag = tag->next) tokenize(QString(tag->tag->name), res); for (int i = 0; i < d->cylinders.nr; ++i) { - const cylinder_t &cyl = d->cylinders.cylinders[i]; + const cylinder_t &cyl = *get_cylinder(d, i); tokenize(QString(cyl.type.description), res); } for (int i = 0; i < d->weightsystems.nr; ++i) { |