Gas choices working, both directions ( Planner and Table )

The gas choice now works and correctly ( I hope ) calculates
the gas choosen to show on the planner. User can choose the
gas from the list on the visual planner, and also on the table.

Signed-off-by: Tomaz Canabrava <tcanabrava@kde.org>
This commit is contained in:
Tomaz Canabrava 2013-08-30 15:06:26 -03:00
parent 2d0e877bb2
commit 5e722a93e4
4 changed files with 41 additions and 11 deletions

View file

@ -712,7 +712,6 @@ error_exit:
free(gaschanges);
}
#if USE_GTK_UI
/*
* Get a value in tenths (so "10.2" == 102, "9" = 90)
*
@ -980,6 +979,7 @@ int validate_volume(const char *text, int *sac)
return 1;
}
#if USE_GTK_UI
struct diveplan diveplan = {};
char *cache_data = NULL;
struct dive *planned_dive = NULL;