summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorportix <portix@gmx.net>2014-03-20 10:38:37 +0100
committerportix <portix@gmx.net>2014-03-20 10:38:37 +0100
commit519bf6c8d687202ee1a06d4a4604b08443c75ee7 (patch)
tree672e756513a7755a937f2f5975dd9f49917ee58b
parentc0c92a58da417b94fa51d01809a9c63917399eb8 (diff)
downloaddwb-519bf6c8d687202ee1a06d4a4604b08443c75ee7.zip
Removing double check if plugin is disabled in plugindb
-rw-r--r--src/plugindb.c5
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)