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:
parent
f73a652e44
commit
bea7bbab00
@ -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;
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user