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 /save-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 'save-xml.c')
-rw-r--r-- | save-xml.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/save-xml.c b/save-xml.c index a81d4258d..c8ce6fdf1 100644 --- a/save-xml.c +++ b/save-xml.c @@ -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); |