aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/mm-manager.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mm-manager.c b/src/mm-manager.c
index 32b0d2a8..9b4c6d6e 100644
--- a/src/mm-manager.c
+++ b/src/mm-manager.c
@@ -626,7 +626,7 @@ supports_callback (MMPlugin *plugin,
if (next_plugin) {
const char *next_name = mm_plugin_get_name (next_plugin);
- if (info->best_plugin && strcmp (next_name, MM_PLUGIN_GENERIC_NAME))
+ if (info->best_plugin && !strcmp (next_name, MM_PLUGIN_GENERIC_NAME))
next_plugin = NULL;
}