Revision: 3277 http://geany.svn.sourceforge.net/geany/?rev=3277&view=rev Author: ntrel Date: 2008-11-24 17:57:16 +0000 (Mon, 24 Nov 2008)
Log Message: ----------- Use g_str_has_suffix() instead of utils_str_equal().
Modified Paths: -------------- trunk/plugins/filebrowser.c
Modified: trunk/plugins/filebrowser.c =================================================================== --- trunk/plugins/filebrowser.c 2008-11-24 13:35:10 UTC (rev 3276) +++ trunk/plugins/filebrowser.c 2008-11-24 17:57:16 UTC (rev 3277) @@ -117,7 +117,7 @@ { 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; } }
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.