mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Cosmetic modifications in profile delta sample string
Consistently do not use a space between value and unit. Consistently do not use a space between "name:" and value. Add "/min" for SAC rate. Signed-off-by: Stefan Fuchs <sfuchs@gmx.de>
This commit is contained in:
parent
bdc470a80e
commit
5d32fd0723
1 changed files with 3 additions and 3 deletions
|
|
@ -1660,7 +1660,7 @@ void compare_samples(struct plot_data *e1, struct plot_data *e2, char *buf, int
|
||||||
int sac = lrint(volume_used / atm * 60 / delta_time);
|
int sac = lrint(volume_used / atm * 60 / delta_time);
|
||||||
memcpy(buf2, buf, bufsize);
|
memcpy(buf2, buf, bufsize);
|
||||||
volume_value = get_volume_units(sac, &volume_precision, &volume_unit);
|
volume_value = get_volume_units(sac, &volume_precision, &volume_unit);
|
||||||
snprintf_loc(buf, bufsize, translate("gettextFromC", "%s SAC: %.*f%s"), buf2, volume_precision, volume_value, volume_unit);
|
snprintf_loc(buf, bufsize, translate("gettextFromC", "%s SAC:%.*f%s/min"), buf2, volume_precision, volume_value, volume_unit);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue