mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Typesetting in profile infobox
There should be a space between the colon and the value in the information box in the profile. The vertical speed should have only one digit after the decimal point. Fixes #443 Signed-off-by: Andrey Zhdanov <andrjufka@gmail.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
5846ff972d
commit
fdc11abe68
1 changed files with 23 additions and 23 deletions
|
@ -1470,7 +1470,7 @@ static void plot_string(struct plot_data *entry, struct membuffer *b, bool has_n
|
|||
/* Ascending speeds are positive, descending are negative */
|
||||
if (entry->speed > 0)
|
||||
speedvalue *= -1;
|
||||
put_format(b, translate("gettextFromC","V:%.2f %s\n"), speedvalue, vertical_speed_unit);
|
||||
put_format(b, translate("gettextFromC","V: %.1f%s\n"), speedvalue, vertical_speed_unit);
|
||||
|
||||
if (entry->sac && prefs.show_sac)
|
||||
put_format(b, translate("gettextFromC","SAC: %2.1fl/min\n"), entry->sac / 1000.0);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue