diff options
author | Rick Walsh <rickmwalsh@gmail.com> | 2015-07-23 23:36:11 +1000 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2015-07-23 08:12:29 -0700 |
commit | 361ddd96344ece56e8d2059375b45b13c0532c86 (patch) | |
tree | 890b2b985715109878cfa2700e871f4be2c93b1f /Documentation/images/LoadImage1_f20.jpg | |
parent | aa4ed491fdac62d011fc66d39c364b104a95b6e3 (diff) | |
download | subsurface-361ddd96344ece56e8d2059375b45b13c0532c86.tar.gz |
Planner: correct output of planner mode
Previously we used strncat to output VPM mode without correctly defining the
length of the string, and didn't do anything for recreational mode. This
resulted in the output being junk recycled from the previous temp string.
We could use strncat if the string length were defined, but using snprintf will
make it simpler to include the VPM conservatism when that has been implemented.
Signed-off-by: Rick Walsh <rickmwalsh@gmail.com>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'Documentation/images/LoadImage1_f20.jpg')
0 files changed, 0 insertions, 0 deletions