summaryrefslogtreecommitdiffstats
path: root/parse-xml.c
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2013-04-09 19:46:05 -0700
committerGravatar Dirk Hohndel <dirk@hohndel.org>2013-04-09 19:46:05 -0700
commit3611b0ae2d78402593b5bd007917454a4dcb9b50 (patch)
tree52cefdee596f2930acbb11fe9b09cba0e99d3d44 /parse-xml.c
parent51c4a5335b5c371f91ac9c6fd66779b78e1aa890 (diff)
downloadsubsurface-3611b0ae2d78402593b5bd007917454a4dcb9b50.tar.gz
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>
Diffstat (limited to 'parse-xml.c')
-rw-r--r--parse-xml.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/parse-xml.c b/parse-xml.c
index 57b022bb0..d72ad73e2 100644
--- a/parse-xml.c
+++ b/parse-xml.c
@@ -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' */