summaryrefslogtreecommitdiffstats
path: root/commands/command_divesite.cpp
diff options
context:
space:
mode:
authorGravatar Berthold Stoeger <bstoeger@mail.tuwien.ac.at>2020-09-05 13:23:23 +0200
committerGravatar Dirk Hohndel <dirk@hohndel.org>2020-09-06 12:59:54 -0700
commit6da78a29c4bcd42b93ef0044ec5e005f2ff93e0f (patch)
treefa415e566d5b9cb9b84d66a7b60a85cc4bd78c44 /commands/command_divesite.cpp
parent86c24dd8321664a50a9c0ee4e54e21b21bbe46fc (diff)
downloadsubsurface-6da78a29c4bcd42b93ef0044ec5e005f2ff93e0f.tar.gz
cleanup: add helper function to set taxonomy category
Setting a taxonomy category was cumbersome: the caller had to make sure that the category-table was allocated. Introduce a helper function to make that simpler. Make taxonomy_set_country() the first caller of the new function, since it is just a special case with category = TC_COUNTRY. Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
Diffstat (limited to 'commands/command_divesite.cpp')
0 files changed, 0 insertions, 0 deletions