mirror of
https://github.com/subsurface/subsurface.git
synced 2025-01-19 14:25:27 +00:00
Parse the xml sample cylinder index properly
We would save it in the xml file, but then not actually read it back properly. Oops. Not that we actually have any multi-tank dives yet, so it doesn't matter. Yet. Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
parent
0a33d0bd7d
commit
04f372f8aa
1 changed files with 2 additions and 0 deletions
|
@ -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))
|
||||
|
|
Loading…
Add table
Reference in a new issue