diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2015-01-29 15:26:24 -0800 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2015-01-29 15:26:24 -0800 |
commit | 07e94c67e0be8c31daee2799676bd226b81f5a84 (patch) | |
tree | 00d16d574bb84cd8d64a4ddd75b9dc6532a9687f /worldmap-save.h | |
parent | cd992bd14a292ae7117b40e1c1d6d99660d2e2da (diff) | |
download | subsurface-07e94c67e0be8c31daee2799676bd226b81f5a84.tar.gz |
Make sure the index is valid
There are reports that the replace calls can cause the application to
crash. This doesn't seem to make sense, looking at the code - this change
shouldn't make any difference. But it makes it even more clear that there
shouldn't be any possible scenario in which we call replace with an index
that's out of range.
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'worldmap-save.h')
0 files changed, 0 insertions, 0 deletions