mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
core: correct AL* tankinfo sizes.
Recently (d16a9f118a
) the tankinfo table was made dynamic, which
means that the default tankinfos are added programatically.
Thereby, the wrong function was used for AL* type of cylinders:
metric instead of imperial. Fix those.
Reported-by: Michael Andreen <harv@ruin.nu>
Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
This commit is contained in:
parent
8d93192537
commit
daebd0ad0e
1 changed files with 6 additions and 6 deletions
|
@ -253,12 +253,12 @@ static void add_default_tank_infos(struct tank_info_table *table)
|
|||
add_tank_info_metric(table, "11.1ℓ", 11100, 0);
|
||||
|
||||
/* Most common AL cylinders */
|
||||
add_tank_info_metric(table, "AL40", 40, 3000);
|
||||
add_tank_info_metric(table, "AL50", 50, 3000);
|
||||
add_tank_info_metric(table, "AL63", 63, 3000);
|
||||
add_tank_info_metric(table, "AL72", 72, 3000);
|
||||
add_tank_info_metric(table, "AL80", 80, 3000);
|
||||
add_tank_info_metric(table, "AL100", 100, 3300);
|
||||
add_tank_info_imperial(table, "AL40", 40, 3000);
|
||||
add_tank_info_imperial(table, "AL50", 50, 3000);
|
||||
add_tank_info_imperial(table, "AL63", 63, 3000);
|
||||
add_tank_info_imperial(table, "AL72", 72, 3000);
|
||||
add_tank_info_imperial(table, "AL80", 80, 3000);
|
||||
add_tank_info_imperial(table, "AL100", 100, 3300);
|
||||
|
||||
/* Metric AL cylinders */
|
||||
add_tank_info_metric(table, "ALU7", 7000, 200);
|
||||
|
|
Loading…
Add table
Reference in a new issue