diff src/filedata.c @ 1307:e8f21b91885d

Glibification again.
author zas_
date Sat, 21 Feb 2009 20:43:35 +0000
parents 7ac9664242b2
children fe4da037be21
line wrap: on
line diff
--- a/src/filedata.c	Sat Feb 21 18:28:53 2009 +0000
+++ b/src/filedata.c	Sat Feb 21 20:43:35 2009 +0000
@@ -395,7 +395,7 @@
 
 		work = work->next;
 
-		if (strcasecmp(ext, fd->extension) == 0)
+		if (g_ascii_strcasecmp(ext, fd->extension) == 0)
 			{
 			new_fd = fd; /* processing the original file */
 			}
@@ -687,7 +687,7 @@
 		{
 		FileData *sfd = work->data;
 		work = work->next;
-		if (strcasecmp(sfd->extension, ".xmp") == 0)
+		if (g_ascii_strcasecmp(sfd->extension, ".xmp") == 0)
 			{
 			sidecar_path = g_strdup(sfd->path);
 			break;
@@ -728,7 +728,7 @@
 		gchar *ext = work->data;
 		
 		work = work->next;
-		if (strcasecmp(extension, ext) == 0) return i;
+		if (g_ascii_strcasecmp(extension, ext) == 0) return i;
 		i++;
 	}
 	return 0;
@@ -1880,7 +1880,7 @@
 			const gchar *dest_ext = extension_from_path(fd->change->dest);
 			if (!dest_ext) dest_ext = "";
 
-			if (strcasecmp(fd->extension, dest_ext) != 0)
+			if (g_ascii_strcasecmp(fd->extension, dest_ext) != 0)
 				{
 				ret |= CHANGE_WARN_CHANGED_EXT;
 				DEBUG_1("Change checked: source and destination have different extensions: %s -> %s", fd->path, fd->change->dest);