From: Dirk Hohndel Date: Fri, 30 Sep 2011 00:42:58 +0000 (-0700) Subject: Allow larger tanks (change maximum from 200 to 300 cuft) X-Git-Url: http://git.tdb.fi/?p=ext%2Fsubsurface.git;a=commitdiff_plain;h=56a24917cb707493699488e197924a13e250afcf 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 --- diff --git a/equipment.c b/equipment.c index 5d5a354..da758a9 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);