diff --git a/plugins/filebrowser.c b/plugins/filebrowser.c index e04decec..38e9217f 100644 --- a/plugins/filebrowser.c +++ b/plugins/filebrowser.c @@ -117,7 +117,7 @@ static gboolean check_hidden(const gchar *base_name) { const gchar *ext = exts[i]; - if (p_utils->str_equal(&base_name[len - strlen(ext)], ext)) + if (g_str_has_suffix(base_name, ext)) return TRUE; } }