summaryrefslogtreecommitdiffstats
path: root/CheckItem.c
diff options
context:
space:
mode:
authorNathan Scott <nathans@redhat.com>2020-08-20 14:19:53 +1000
committerNathan Scott <nathans@redhat.com>2020-08-20 14:19:53 +1000
commita82fd262d75f8494c34416e49c6241c29692676e (patch)
tree5c4ff9b8a872ca06e8e200a034099c736da1e160 /CheckItem.c
parentcdff8aea2ab10870af1aad5bdb6949ea0fd407b0 (diff)
parent63fbc3b51704b4b122d2cab57de7e7f9dfcc03b1 (diff)
Merge branch 'hishamhm-pull-960'
Diffstat (limited to 'CheckItem.c')
-rw-r--r--CheckItem.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/CheckItem.c b/CheckItem.c
index b7ba6fec..910981e8 100644
--- a/CheckItem.c
+++ b/CheckItem.c
@@ -66,14 +66,14 @@ CheckItem* CheckItem_newByVal(char* text, bool value) {
}
void CheckItem_set(CheckItem* this, bool value) {
- if (this->ref)
+ if (this->ref)
*(this->ref) = value;
else
this->value = value;
}
bool CheckItem_get(CheckItem* this) {
- if (this->ref)
+ if (this->ref)
return *(this->ref);
else
return this->value;