diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2015-01-09 12:03:29 -0800 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2015-01-09 12:41:38 -0800 |
commit | 15fb6158bca814d9cd223e6068d1addc2a88cc88 (patch) | |
tree | 5f52b91fb3635fcaa0876607acef4d8d210af955 /qt-ui/downloadfromdivecomputer.h | |
parent | cd2cee4974a413a9fd462b4115d92b3c633f1a44 (diff) | |
download | subsurface-15fb6158bca814d9cd223e6068d1addc2a88cc88.tar.gz |
Dive d/l selection UI: the indices are inclusive, allocate enough space
The array we allocated was one entry too small.
On the flip side, let's just make sure we cannot call this with a negative
range. That would be bad, too.
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-ui/downloadfromdivecomputer.h')
0 files changed, 0 insertions, 0 deletions