comparison src/ui_fileops.c @ 1307:e8f21b91885d

Glibification again.
author zas_
date Sat, 21 Feb 2009 20:43:35 +0000
parents 8b89e3ff286b
children 681e79dd0820
comparison
equal deleted inserted replaced
1306:c59358ba7ad1 1307:e8f21b91885d
779 779
780 p = strlen(path); 780 p = strlen(path);
781 e = strlen(ext); 781 e = strlen(ext);
782 782
783 /* FIXME: utf8 */ 783 /* FIXME: utf8 */
784 return (p > e && strncasecmp(path + p - e, ext, e) == 0); 784 return (p > e && g_ascii_strncasecmp(path + p - e, ext, e) == 0);
785 } 785 }
786 786
787 gchar *remove_extension_from_path(const gchar *path) 787 gchar *remove_extension_from_path(const gchar *path)
788 { 788 {
789 gint p = 0, n = -1; 789 gint p = 0, n = -1;