diff options
author | Berthold Stoeger <bstoeger@mail.tuwien.ac.at> | 2019-08-13 08:08:34 +0200 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2019-08-13 07:27:48 -0700 |
commit | 14dd93b655b22ca17cfb041529ae84e91eca4a75 (patch) | |
tree | ebcd5ce4f4a35565ff05a39d7a57dc519e79340a /core | |
parent | 62cbfc332542b09dc4d7d82f7b1ee61bdde6d800 (diff) | |
download | subsurface-14dd93b655b22ca17cfb041529ae84e91eca4a75.tar.gz |
Mobile: fix bound check in DiveListModel::data()
Indexes go from 0 to count - 1. Thus, the comparison for invalid
indexes has to read ">= count", not "> count".
Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
Diffstat (limited to 'core')
0 files changed, 0 insertions, 0 deletions