diff options
Diffstat (limited to 'e-util/e-plugin.c')
-rw-r--r-- | e-util/e-plugin.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/e-util/e-plugin.c b/e-util/e-plugin.c index 6335695ca4..5cc4ac235d 100644 --- a/e-util/e-plugin.c +++ b/e-util/e-plugin.c @@ -93,7 +93,8 @@ ep_check_enabled(const char *id) static void ep_set_enabled(const char *id, int state) { - if ((state == 0) == ep_check_enabled(id) == 0) + /* Bail out if no change to state, when expressed as a boolean: */ + if ((state == 0) == (ep_check_enabled(id) == 0)) return; if (state) { |