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
This commit is contained in:
Nick Treleaven 2008-11-24 17:57:16 +00:00
parent f73a652e44
commit bea7bbab00

View File

@ -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;
}
}