aboutsummaryrefslogtreecommitdiffstats
path: root/gettextfromc.h
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2014-03-03 21:53:26 -0800
committerGravatar Dirk Hohndel <dirk@hohndel.org>2014-03-03 21:54:52 -0800
commit396106e307eacc4b4fbd79a995a0fafdc7f91e6b (patch)
tree9aa1a13583a99ccd2d83349f4f12e76ab6886705 /gettextfromc.h
parentd24d2288f30e8666667c5437802d22533a94e1ec (diff)
downloadsubsurface-396106e307eacc4b4fbd79a995a0fafdc7f91e6b.tar.gz
Don't use negative gas index
This shouldn't happen, but in case we run out of gases we shouldn't use the negative gas index (which is the error return of get_gas_idx()) for the array. Let's fall back to the (incorrect) first gas. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'gettextfromc.h')
0 files changed, 0 insertions, 0 deletions