mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Automatically show Freshwater tag (but don't set it)
If the salinity is 10000 we show (but do not set) the Freshwater tag. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
51c4a5335b
commit
3611b0ae2d
3 changed files with 8 additions and 2 deletions
|
@ -205,7 +205,6 @@ static void divetags(char *buffer, void *_tags)
|
|||
int *tags = _tags;
|
||||
int i;
|
||||
|
||||
*tags = 0;
|
||||
for (i = 0; i < DTAG_NR; i++) {
|
||||
if (strstr(buffer, dtag_names[i])) {
|
||||
/* stupidly we have 'cave' and 'cavern' */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue