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>
This commit is contained in:
Dirk Hohndel 2011-09-29 17:42:58 -07:00
parent 912ce7941f
commit 56a24917cb

View file

@ -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);