From 41b5ae5dd6140a2345433618a053b1e9f791325a Mon Sep 17 00:00:00 2001 From: twinaphex Date: Fri, 9 Jan 2015 02:06:41 +0100 Subject: [PATCH] (core_options.c) Small change --- core_options.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/core_options.c b/core_options.c index 960336da48..f3b1d2067d 100644 --- a/core_options.c +++ b/core_options.c @@ -173,9 +173,9 @@ error: bool core_option_updated(core_option_manager_t *opt) { - if (opt) - return opt->updated; - return false; + if (!opt) + return false; + return opt->updated; } void core_option_flush(core_option_manager_t *opt)