diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/gui/gui-filter.c | 2 | ||||
-rw-r--r-- | src/plugins/plugin-api-info.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/gui-filter.c b/src/gui/gui-filter.c index e2642713e..113f8f850 100644 --- a/src/gui/gui-filter.c +++ b/src/gui/gui-filter.c @@ -292,7 +292,7 @@ gui_filter_find_pos (struct t_gui_filter *filter) for (ptr_filter = gui_filters; ptr_filter; ptr_filter = ptr_filter->next_filter) { - if (string_strcasecmp (filter->name, ptr_filter->name) < 0) + if (strcmp (filter->name, ptr_filter->name) < 0) return ptr_filter; } diff --git a/src/plugins/plugin-api-info.c b/src/plugins/plugin-api-info.c index 0eb20b473..abf6c4cbd 100644 --- a/src/plugins/plugin-api-info.c +++ b/src/plugins/plugin-api-info.c @@ -1347,7 +1347,7 @@ plugin_api_infolist_filter_cb (const void *pointer, void *data, ptr_filter = ptr_filter->next_filter) { if (!arguments || !arguments[0] - || string_match (ptr_filter->name, arguments, 0)) + || string_match (ptr_filter->name, arguments, 1)) { if (!gui_filter_add_to_infolist (ptr_infolist, ptr_filter)) { |