summaryrefslogtreecommitdiffstats
path: root/statistics.c
diff options
context:
space:
mode:
authorGravatar Salvador Cuñat <salvador.cunat@gmail.com>2013-02-23 10:44:45 +0100
committerGravatar Dirk Hohndel <dirk@hohndel.org>2013-02-23 08:21:49 -0800
commitf47813546cc481a69cce741dc04ad72e7fc1ca55 (patch)
treeb2a74cbbc7131c12d289754df70fd0ba7db659e8 /statistics.c
parent0eb53fab52acdcca60a3a80d4d0d9e1e9fffb38b (diff)
downloadsubsurface-f47813546cc481a69cce741dc04ad72e7fc1ca55.tar.gz
Print.c : fixes problem with line height in print_tanks
A "\n" was giving 2 lines height for the layout. Wipping it out makes unnecesary the *2 divisor. As there may be wrapped strings in tank we need to take account of this height. There is no need, really, to get the height of the gasmix or gas_consumed strings, as they are "semi-fixed" size, but under some locales and imperial units they could be wrapped too. Signed-off-by: Salvador Cuñat <salvador.cunat@gmail.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'statistics.c')
0 files changed, 0 insertions, 0 deletions