mirror of
https://github.com/subsurface/subsurface.git
synced 2025-01-31 23:13:25 +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;
|
||||
int log_version;
|
||||
|
||||
// Get name
|
||||
// Get name length
|
||||
unsigned int len = array_uint32_le(buf);
|
||||
// Ignore name
|
||||
// Ignore length field and the name
|
||||
ptr = 4 + len;
|
||||
|
||||
unsigned int dive_count = array_uint32_le(buf + ptr);
|
||||
|
|
Loading…
Add table
Reference in a new issue