[Rawstudio-commit] r3209 - trunk/librawstudio

Klaus Post klauspost at gmail.com
Sat Feb 13 14:27:55 CET 2010


Author: post
Date: 2010-02-13 14:27:54 +0100 (Sat, 13 Feb 2010)
New Revision: 3209

Modified:
   trunk/librawstudio/rs-profile-factory.c
Log:
Don't use case sensitive compare when comparing unique ID for DCP profiles.

Modified: trunk/librawstudio/rs-profile-factory.c
===================================================================
--- trunk/librawstudio/rs-profile-factory.c	2010-02-13 13:04:17 UTC (rev 3208)
+++ trunk/librawstudio/rs-profile-factory.c	2010-02-13 13:27:54 UTC (rev 3209)
@@ -198,8 +198,9 @@
 		-1);
 
 	/* The only thing we need to hide is mismatched DCP profiles */
-	if ((type == FACTORY_MODEL_TYPE_DCP) && (g_strcmp0(model_needle, model_haystack) != 0))
-	    visible = FALSE;
+	if (model_needle && model_haystack)
+		if ((type == FACTORY_MODEL_TYPE_DCP) && (g_ascii_strcasecmp(model_needle, model_haystack) != 0))
+	    	visible = FALSE;
 
 	return visible;
 }




More information about the Rawstudio-commit mailing list