summaryrefslogtreecommitdiffstats
path: root/save-git.c
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2015-07-02 10:21:35 -0700
committerGravatar Dirk Hohndel <dirk@hohndel.org>2015-07-02 10:22:31 -0700
commitbc8c54f1eedc550f9cd79abfc69db9934577aac8 (patch)
tree569373c575d0c08e3706a8ba79932adaefefa091 /save-git.c
parent08f8eb6eb51f2855f98c1b351127691dce837894 (diff)
downloadsubsurface-bc8c54f1eedc550f9cd79abfc69db9934577aac8.tar.gz
Rename enum values for taxonomy
This avoids confusion and namespace collisions. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'save-git.c')
-rw-r--r--save-git.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/save-git.c b/save-git.c
index ff82ca841..a8e0582f3 100644
--- a/save-git.c
+++ b/save-git.c
@@ -900,7 +900,7 @@ static void save_divesites(git_repository *repo, struct dir *tree)
if (prefs.geocoding.enable_geocoding)
for (int j = 0; j < ds->taxonomy.nr; j++) {
struct taxonomy *t = &ds->taxonomy.category[j];
- if (t->category != NONE) {
+ if (t->category != TC_NONE) {
put_format(&b, "geo cat %d origin %d ", t->category, t->origin);
show_utf8(&b, "", t->value, "\n" );
}