diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2015-07-02 10:21:35 -0700 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2015-07-02 10:22:31 -0700 |
commit | bc8c54f1eedc550f9cd79abfc69db9934577aac8 (patch) | |
tree | 569373c575d0c08e3706a8ba79932adaefefa091 /parse-xml.c | |
parent | 08f8eb6eb51f2855f98c1b351127691dce837894 (diff) | |
download | subsurface-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 'parse-xml.c')
-rw-r--r-- | parse-xml.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/parse-xml.c b/parse-xml.c index 879e31fd2..4c2077702 100644 --- a/parse-xml.c +++ b/parse-xml.c @@ -1449,7 +1449,7 @@ static void try_to_fill_dive_site(struct dive_site **ds_p, const char *name, cha if (MATCH("origin.geo", get_index, (int *)&ds->taxonomy.category[ds->taxonomy.nr].origin)) return; if (MATCH("value.geo", utf8_string, &ds->taxonomy.category[ds->taxonomy.nr].value)) { - if (ds->taxonomy.nr < NR_CATEGORIES) + if (ds->taxonomy.nr < TC_NR_CATEGORIES) ds->taxonomy.nr++; return; } |