diff options
Diffstat (limited to 'CheckItem.c')
-rw-r--r-- | CheckItem.c | 4 |
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; |