In src/plugins.c:
> gint count = 0; > > list = utils_get_file_list(path, NULL, NULL); > > for (item = list; item != NULL; item = g_slist_next(item)) > { > - tmp = strrchr(item->data, '.'); > - if (tmp == NULL || utils_str_casecmp(tmp, "." G_MODULE_SUFFIX) != 0) > - continue; > + gchar *fname = g_build_filename(path, item->data, NULL); > + PluginProxy *proxy = is_plugin(fname); > + > + if (proxy != NULL && plugin_new(proxy->plugin, fname, FALSE, TRUE)) > + count++;
weird indentation
—
Reply to this email directly or view it on GitHub.