summaryrefslogtreecommitdiffstats
path: root/core/fulltext.h
diff options
context:
space:
mode:
authorGravatar Berthold Stoeger <bstoeger@mail.tuwien.ac.at>2020-04-08 09:05:28 +0200
committerGravatar Dirk Hohndel <dirk@hohndel.org>2020-04-08 08:08:19 -0700
commitd9599589c71d4288dafdbaa58637956a3447c798 (patch)
treed19f508de03424ad27e139cd1fe1c0928b2a5a4b /core/fulltext.h
parentd8b92a18520a58646180e6b91cafd89dbb997fcb (diff)
downloadsubsurface-d9599589c71d4288dafdbaa58637956a3447c798.tar.gz
fulltext: rename fulltext_reload() to fulltext_populate()
This function was named improperly: it was only used on freshly loaded data. Indeed, attempts to use it to actually reload lead to crashes. Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
Diffstat (limited to 'core/fulltext.h')
-rw-r--r--core/fulltext.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/fulltext.h b/core/fulltext.h
index fe6aa333b..108749e1d 100644
--- a/core/fulltext.h
+++ b/core/fulltext.h
@@ -24,7 +24,7 @@ struct dive;
void fulltext_register(struct dive *d); // Note: can be called repeatedly
void fulltext_unregister(struct dive *d); // Note: can be called repeatedly
void fulltext_unregister_all(); // Unregisters all dives in the dive table
-void fulltext_reload(); // Registers all dives in the dive table
+void fulltext_populate(); // Registers all dives in the dive table
#ifdef __cplusplus
}