summaryrefslogtreecommitdiff
path: root/ord.c
diff options
context:
space:
mode:
authorꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id>2023-01-24 18:53:15 +0800
committerꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id>2023-01-24 18:53:15 +0800
commit39390f76cb75cfd5830495301cb08221e7934d5b (patch)
treec690d991a040f7e3d33542832110c5dfcce86917 /ord.c
parent5ada0f76cc310c97d0cf8791ac321d9ac8a2a81e (diff)
Simplify preferences by not making it a pointer
Diffstat (limited to 'ord.c')
-rw-r--r--ord.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ord.c b/ord.c
index 5af1a91..3997b61 100644
--- a/ord.c
+++ b/ord.c
@@ -76,8 +76,8 @@ void interchange_ord_checkout(const struct interchange_ord_order *order, const s
{ "zip", member->zip },
{ "email", member->email },
{ "phone_day", member->phone_day },
- { "mv_same_billing", member->preferences->mv_same_billing? "1" : "0" },
- { "email_copy", member->preferences->email_copy? "1" : "0" }
+ { "mv_same_billing", member->preferences.mv_same_billing? "1" : "0" },
+ { "email_copy", member->preferences.email_copy? "1" : "0" }
}}, "%s", "ord/checkout");
}