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
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue