Create a drop down to choose default cylinder

This also renames the ui element to match.

Signed-off-by: Anton Lundin <glance@acc.umu.se>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Anton Lundin 2013-11-24 23:21:29 +01:00 committed by Dirk Hohndel
parent a25d351b64
commit d0fbfc7a9c
3 changed files with 9 additions and 4 deletions

View file

@ -208,7 +208,7 @@ int add_gas(struct dive *dive, int o2, int he)
if (i == MAX_CYLINDERS) {
return -1;
}
/* let's make it our default cylinder (right now hardcoded as AL80) */
/* let's make it our default cylinder */
fill_default_cylinder(cyl);
mix->o2.permille = o2;
mix->he.permille = he;