mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Correctly use the weightsystem_none / cylinder_none helpers
Plus a couple of minor formatting changes Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
e7b84233af
commit
19586081ed
3 changed files with 14 additions and 16 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue