mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Make divelist gas column slightly easier to understand
Since printing EANxx was met with a lot of resistance as it wastes space, maybe this makes things slightly better at least. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
34fceb4a1b
commit
da07b4e5d7
1 changed files with 2 additions and 2 deletions
|
@ -453,9 +453,9 @@ char *get_dive_gas_string(struct dive *dive)
|
|||
snprintf(buffer, MAX_GAS_STRING, "%d/%d", o2, he);
|
||||
else if (o2)
|
||||
if (o2 == o2low)
|
||||
snprintf(buffer, MAX_GAS_STRING, "%d", o2);
|
||||
snprintf(buffer, MAX_GAS_STRING, "%d%%", o2);
|
||||
else
|
||||
snprintf(buffer, MAX_GAS_STRING, "%d" UTF8_ELLIPSIS "%d", o2low, o2);
|
||||
snprintf(buffer, MAX_GAS_STRING, "%d" UTF8_ELLIPSIS "%d%%", o2low, o2);
|
||||
else
|
||||
strcpy(buffer, translate("gettextFromC", "air"));
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue