aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/deco.c
diff options
context:
space:
mode:
authorGravatar Tim Segers <tsegers@pm.me>2022-10-10 18:08:23 +0200
committerGravatar Tim Segers <tsegers@pm.me>2022-10-10 18:26:26 +0200
commit2337828095920b8debdb0f8e0337a9d6aad6b55c (patch)
tree5f2427f6cceed61423d17dccabe626f65e695e04 /deco.c
parent5a13248060e51ac11436e9c0aa9f1694998caf54 (diff)
downloadopendeco-2337828095920b8debdb0f8e0337a9d6aad6b55c.tar.gz
Add minunit.h with some trivial tests
Diffstat (limited to 'deco.c')
-rw-r--r--deco.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/deco.c b/deco.c
index 42d3776..5ef6537 100644
--- a/deco.c
+++ b/deco.c
@@ -98,7 +98,7 @@ gas_t gas_new(const unsigned char o2, const unsigned char he, double mod)
int gas_equal(const gas_t *g1, const gas_t *g2)
{
- return g1->o2 == g2->o2 && g1->he == g2->he;
+ return g1->o2 == g2->o2 && g1->he == g2->he && g1->mod == g2->mod;
}
unsigned char gas_o2(const gas_t *gas)