I can certainly have a look a the download code. But for that, I need the libdivecomputer log file from a download with an OSTC4 computer that shows the problem. Both Diving Log and Subsurface have an option to create such a log file.
--
libdivecomputer developer
[
www.libdivecomputer.org]