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:
Miika Turkia 2015-08-19 20:12:16 +03:00 committed by Dirk Hohndel
parent dbf2868dee
commit 9bd683ef35

View file

@ -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);