summaryrefslogtreecommitdiffstats
path: root/xslt
diff options
context:
space:
mode:
authorGravatar Linus Torvalds <torvalds@linux-foundation.org>2017-07-22 08:32:51 -0700
committerGravatar Dirk Hohndel <dirk@hohndel.org>2017-07-22 10:38:11 -0700
commit92ecbc8c83d8039cb1b16e3ab6adbb3acbef581c (patch)
tree1ae19202f30257fcc9f300bd7fba551353d354cb /xslt
parentb9f52d0aff470991568a7c1af5af529b0142e1e8 (diff)
downloadsubsurface-92ecbc8c83d8039cb1b16e3ab6adbb3acbef581c.tar.gz
parse-xml: use the right dc for filling in extra data
"cur_dc" may be NULL when the XML source isn't a subsurface XML file, and xml parsing is supposed to use "get_dc()" to pick a dive computer when the nesting of the XML may not be proper. Now, XML sources that don't have the proper dive computer nesting markers generally also do not end up having the extra-data string information, but one example of this is the simple XML that the libdivecomputer 'dctool' program generates. Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'xslt')
0 files changed, 0 insertions, 0 deletions