summaryrefslogtreecommitdiffstats
path: root/worldmap-save.h
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2015-01-29 15:26:24 -0800
committerGravatar Dirk Hohndel <dirk@hohndel.org>2015-01-29 15:26:24 -0800
commit07e94c67e0be8c31daee2799676bd226b81f5a84 (patch)
tree00d16d574bb84cd8d64a4ddd75b9dc6532a9687f /worldmap-save.h
parentcd992bd14a292ae7117b40e1c1d6d99660d2e2da (diff)
downloadsubsurface-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