Mercurial > geeqie
diff src/editors.c @ 1307:e8f21b91885d
Glibification again.
author | zas_ |
---|---|
date | Sat, 21 Feb 2009 20:43:35 +0000 |
parents | 8b89e3ff286b |
children | fe4da037be21 |
line wrap: on
line diff
--- a/src/editors.c Sat Feb 21 18:28:53 2009 +0000 +++ b/src/editors.c Sat Feb 21 20:43:35 2009 +0000 @@ -318,7 +318,7 @@ gchar *namel = dir->d_name; size_t len = strlen(namel); - if (len > 8 && strncasecmp(namel + len - 8, ".desktop", 8) == 0) + if (len > 8 && g_ascii_strncasecmp(namel + len - 8, ".desktop", 8) == 0) { gchar *name = path_to_utf8(namel); gchar *dpath = g_build_filename(path, name, NULL); @@ -594,7 +594,7 @@ work = work->next; if (strcmp(ext, "*") == 0 || - strcasecmp(ext, fd->extension) == 0) + g_ascii_strcasecmp(ext, fd->extension) == 0) { p = fd->path; break; @@ -606,7 +606,7 @@ FileData *sfd = work2->data; work2 = work2->next; - if (strcasecmp(ext, sfd->extension) == 0) + if (g_ascii_strcasecmp(ext, sfd->extension) == 0) { p = sfd->path; break;