summaryrefslogtreecommitdiff
path: root/src/plugins/plugin.c
diff options
context:
space:
mode:
authorCyrille Bagard <nocbos@gmail.com>2024-06-24 21:55:03 (GMT)
committerCyrille Bagard <nocbos@gmail.com>2024-06-24 21:55:03 (GMT)
commit1e30e2c3822f55848e2306e59a2e66d7285f6b78 (patch)
tree7a0fd0bce0f27dceb19b0596cc7a00962c3435ad /src/plugins/plugin.c
parentd49b837c891e0490167b51c4a9811cb2e8276588 (diff)
Create functions suitable for [un]setting only one bit.
Diffstat (limited to 'src/plugins/plugin.c')
-rw-r--r--src/plugins/plugin.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/plugin.c b/src/plugins/plugin.c
index 5b3e475..1dc20e8 100644
--- a/src/plugins/plugin.c
+++ b/src/plugins/plugin.c
@@ -1015,7 +1015,7 @@ bool g_plugin_module_resolve_dependencies(GPluginModule *plugin, GPluginModule *
if (dependency->dependencies == NULL)
dependency->dependencies = create_bit_field(count, false);
- set_in_bit_field(new, index, 1);
+ set_in_bit_field(new, index);
or_bit_field(new, dependency->dependencies);
/**