[gnome-color-manager] Fix a crash in gcm_profile_parse_data() when the ICC profile has no tables we recognise
- From: Richard Hughes <rhughes src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [gnome-color-manager] Fix a crash in gcm_profile_parse_data() when the ICC profile has no tables we recognise
- Date: Thu, 5 Nov 2009 15:13:12 +0000 (UTC)
commit fa9904ee5dd45c5b7e3d4ff0b94170d8f711055e
Author: Richard Hughes <richard hughsie com>
Date: Thu Nov 5 15:12:19 2009 +0000
Fix a crash in gcm_profile_parse_data() when the ICC profile has no tables we recognise
src/gcm-profile.c | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/src/gcm-profile.c b/src/gcm-profile.c
index d64febf..5c77efa 100644
--- a/src/gcm-profile.c
+++ b/src/gcm-profile.c
@@ -577,6 +577,10 @@ gcm_profile_parse_data (GcmProfile *profile, const gchar *data, gsize length, GE
}
}
}
+
+ /* success */
+ ret = TRUE;
+
egg_debug ("Has MLUT: %s", profile->priv->has_mlut ? "YES" : "NO");
egg_debug ("Has VCGT formula: %s", profile->priv->has_vcgt_formula ? "YES" : "NO");
egg_debug ("Has VCGT table: %s", profile->priv->has_vcgt_table ? "YES" : "NO");
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]