]> git.tdb.fi Git - ext/subsurface.git/blobdiff - parse-xml.c
Parse the xml sample cylinder index properly
[ext/subsurface.git] / parse-xml.c
index 6a08a3845c9551c3f35b818ff5c51b468537abda..1b0c4498507be702ab88054ff98497ef0fbb0991 100644 (file)
@@ -604,6 +604,8 @@ static void try_to_fill_sample(struct sample *sample, const char *name, char *bu
                return;
        if (MATCH(".sample.cylpress", pressure, &sample->cylinderpressure))
                return;
+       if (MATCH(".sample.cylinderindex", get_index, &sample->cylinderindex))
+               return;
        if (MATCH(".sample.depth", depth, &sample->depth))
                return;
        if (MATCH(".sample.temp", temperature, &sample->temperature))