summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Hughes <richard@hughsie.com>2013-08-01 15:46:38 +0100
committerRichard Hughes <richard@hughsie.com>2013-08-01 15:51:58 +0100
commit5c222de9bdf00eb31793868f9e45ddeb61ca659e (patch)
treef31bfba91ab492e581f0552604e2c0c3789ed20d
parent10bfb54d26f0902de5ac1b9f3882dad3bc27cb48 (diff)
downloadcolord-5c222de9bdf00eb31793868f9e45ddeb61ca659e.tar.gz
trivial: Only encode two decimal places when writing the coverage in cd-fix-profile
-rw-r--r--client/cd-fix-profile.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/client/cd-fix-profile.c b/client/cd-fix-profile.c
index e4fbf3a..eaf7374 100644
--- a/client/cd-fix-profile.c
+++ b/client/cd-fix-profile.c
@@ -550,7 +550,7 @@ cd_util_set_fix_metadata (CdUtilPrivate *priv, gchar **values, GError **error)
ret = FALSE;
goto out;
}
- coverage_tmp = g_strdup_printf ("%f", coverage);
+ coverage_tmp = g_strdup_printf ("%.2f", coverage);
cd_icc_add_metadata (priv->icc,
"GAMUT_coverage(srgb)",
coverage_tmp);