From bea7bbab00e690542b5e86f8bd1cb9c146bc3fd6 Mon Sep 17 00:00:00 2001 From: Nick Treleaven Date: Mon, 24 Nov 2008 17:57:16 +0000 Subject: [PATCH] Use g_str_has_suffix() instead of utils_str_equal(). git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3277 ea778897-0a13-0410-b9d1-a72fbfd435f5 --- plugins/filebrowser.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } }