diff options
author | Miika Turkia <miika.turkia@gmail.com> | 2015-08-19 20:12:16 +0300 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2015-08-19 10:14:43 -0700 |
commit | 9bd683ef351a8ab4522a56f173c39d70e41ed697 (patch) | |
tree | eb8c877ffce09d87761e4947503e445adba5f5ad /liquivision.c | |
parent | dbf2868dee841a0094a2cb3dddfa0792dca87e84 (diff) | |
download | subsurface-9bd683ef351a8ab4522a56f173c39d70e41ed697.tar.gz |
More precise comments
Signed-off-by: Miika Turkia <miika.turkia@gmail.com>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'liquivision.c')
-rw-r--r-- | liquivision.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/liquivision.c b/liquivision.c index 957e7ccf9..91e0277fb 100644 --- a/liquivision.c +++ b/liquivision.c @@ -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); |