From 56a24917cb707493699488e197924a13e250afcf Mon Sep 17 00:00:00 2001 From: Dirk Hohndel Date: Thu, 29 Sep 2011 17:42:58 -0700 Subject: [PATCH] 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 --- equipment.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- 2.45.2