mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Rename enum values for taxonomy
This avoids confusion and namespace collisions. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
08f8eb6eb5
commit
bc8c54f1ee
10 changed files with 22 additions and 22 deletions
|
@ -543,7 +543,7 @@ void save_dives_buffer(struct membuffer *b, const bool select_only)
|
|||
put_format(b, ">\n");
|
||||
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'", t->category);
|
||||
put_format(b, " origin='%d'", t->origin);
|
||||
show_utf8(b, t->value, " value='", "'/>\n", 1);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue