diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2011-09-29 17:42:58 -0700 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2011-09-29 17:42:58 -0700 |
commit | 56a24917cb707493699488e197924a13e250afcf (patch) | |
tree | 5bac6586fd85b9fbdb1d4875168703ca8544e531 /equipment.c | |
parent | 912ce7941fcc522d208b92fafd51b64816151bdc (diff) | |
download | subsurface-56a24917cb707493699488e197924a13e250afcf.tar.gz |
Allow larger tanks (change maximum from 200 to 300 cuft)
We don't handle doubles any different than single tanks - so while
200 cuft was a sane maximum size for a tank, once you dive with
doubles this logic fails.
We may or may not decide to implement special handling for doubles at some
point, but for now simply allow for tanks all the way up to double-150.
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'equipment.c')
-rw-r--r-- | equipment.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/equipment.c b/equipment.c index 5d5a3546c..da758a9d4 100644 --- a/equipment.c +++ b/equipment.c @@ -369,7 +369,7 @@ static void cylinder_widget(int nr, GtkListStore *model) cylinder->description = GTK_COMBO_BOX(widget); g_signal_connect(widget, "changed", G_CALLBACK(cylinder_cb), cylinder); - widget = create_spinbutton(hbox, "Size", 0, 200, 0.1); + widget = create_spinbutton(hbox, "Size", 0, 300, 0.1); cylinder->size = GTK_SPIN_BUTTON(widget); widget = create_spinbutton(hbox, "Pressure", 0, 5000, 1); |