diff options
author | portix <portix@gmx.net> | 2014-03-20 10:38:37 +0100 |
---|---|---|
committer | portix <portix@gmx.net> | 2014-03-20 10:38:37 +0100 |
commit | 519bf6c8d687202ee1a06d4a4604b08443c75ee7 (patch) | |
tree | 672e756513a7755a937f2f5975dd9f49917ee58b | |
parent | c0c92a58da417b94fa51d01809a9c63917399eb8 (diff) | |
download | dwb-519bf6c8d687202ee1a06d4a4604b08443c75ee7.zip |
Removing double check if plugin is disabled in plugindb
-rw-r--r-- | src/plugindb.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/plugindb.c b/src/plugindb.c index bba04e47..fa65a532 100644 --- a/src/plugindb.c +++ b/src/plugindb.c @@ -58,10 +58,7 @@ plugindb_set_enabled(const char *path, gboolean enabled, gboolean write) } if (write && !currently_enabled) { - if (!currently_enabled) - { - g_string_append_printf(buf, "%s\n", ppath); - } + g_string_append_printf(buf, "%s\n", ppath); } } if (write) |