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 /load-git.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 'load-git.c')
-rw-r--r-- | load-git.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/load-git.c b/load-git.c index 7cfad325f..20c1ad351 100644 --- a/load-git.c +++ b/load-git.c @@ -307,7 +307,7 @@ static void parse_site_geo(char *line, struct membuffer *str, void *_ds) if (ds->taxonomy.category == NULL) ds->taxonomy.category = alloc_taxonomy(); int nr = ds->taxonomy.nr; - if (nr < NR_CATEGORIES) { + if (nr < TC_NR_CATEGORIES) { struct taxonomy *t = &ds->taxonomy.category[nr]; t->value = strdup(mb_cstring(str)); sscanf(line, "cat %d origin %d \"", &t->category, &t->origin); |