mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
More precise comments
Signed-off-by: Miika Turkia <miika.turkia@gmail.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
dbf2868dee
commit
9bd683ef35
1 changed files with 2 additions and 2 deletions
|
@ -387,9 +387,9 @@ int try_to_open_liquivision(const char *filename, struct memblock *mem)
|
||||||
unsigned int ptr;
|
unsigned int ptr;
|
||||||
int log_version;
|
int log_version;
|
||||||
|
|
||||||
// Get name
|
// Get name length
|
||||||
unsigned int len = array_uint32_le(buf);
|
unsigned int len = array_uint32_le(buf);
|
||||||
// Ignore name
|
// Ignore length field and the name
|
||||||
ptr = 4 + len;
|
ptr = 4 + len;
|
||||||
|
|
||||||
unsigned int dive_count = array_uint32_le(buf + ptr);
|
unsigned int dive_count = array_uint32_le(buf + ptr);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue