[gnome-color-manager] If a profile contains a parametric curve, don't exit the parser, just ignore



commit 92f392d6f94934cb3aeab64264815f48f7492e5a
Author: Richard Hughes <richard hughsie com>
Date:   Mon Nov 9 17:38:03 2009 +0000

    If a profile contains a parametric curve, don't exit the parser, just ignore

 src/gcm-profile.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/src/gcm-profile.c b/src/gcm-profile.c
index 73af938..f93e9a5 100644
--- a/src/gcm-profile.c
+++ b/src/gcm-profile.c
@@ -472,6 +472,7 @@ gcm_parser_load_icc_trc (GcmProfile *profile, const gchar *data, gsize offset, g
 	} else if (type == GCM_TRC_TYPE_PARAMETRIC_CURVE) {
 //		ret = gcm_parser_load_icc_trc_parametric_curve (profile, data, offset, color);
 		egg_warning ("contains a parametric curve, FIXME");
+		ret = TRUE;
 	}
 	return ret;
 }



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]