Kaydet (Commit) bea7bbab authored tarafından Nick Treleaven's avatar Nick Treleaven

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
üst f73a652e
......@@ -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;
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment