diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2013-05-21 11:29:21 -0700 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2013-05-21 11:29:21 -0700 |
commit | 19586081ed57c28aed9a649f08db4d415e72dca6 (patch) | |
tree | 02ac1d95cbeff9383ae7ff0736e098b2ce34b2f1 /equipment.c | |
parent | e7b84233af14723814f1340010bb86c6801f1e06 (diff) | |
download | subsurface-19586081ed57c28aed9a649f08db4d415e72dca6.tar.gz |
Correctly use the weightsystem_none / cylinder_none helpers
Plus a couple of minor formatting changes
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 189cc617f..5f858f41d 100644 --- a/equipment.c +++ b/equipment.c @@ -513,7 +513,7 @@ static gboolean description_equal(const char *desc1, const char *desc2) (desc1 && desc2 && strcmp(desc1, desc2) == 0)); } -static gboolean weightsystem_none(void *_data) +gboolean weightsystem_none(void *_data) { weightsystem_t *ws = _data; return !ws->weight.grams && !ws->description; |