[babl] babl: increase precision of error included in babl-fishes cache
- From: Øyvind "pippin" Kolås <ok src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [babl] babl: increase precision of error included in babl-fishes cache
- Date: Sun, 24 May 2020 02:08:48 +0000 (UTC)
commit a874d8727dd413f2b149b424e2ff1b741beab0ab
Author: Øyvind Kolås <pippin gimp org>
Date: Sun May 24 04:04:15 2020 +0200
babl: increase precision of error included in babl-fishes cache
babl/babl-cache.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/babl/babl-cache.c b/babl/babl-cache.c
index 7479c9068..63ae19e7e 100644
--- a/babl/babl-cache.c
+++ b/babl/babl-cache.c
@@ -129,7 +129,7 @@ babl_fish_serialize (Babl *fish, char *dest, int n)
n -= strlen (d);d += strlen (d);
}
- snprintf (d, n, " error=%f", fish->fish.error);
+ snprintf (d, n, " error=%.10f", fish->fish.error);
n -= strlen (d);d += strlen (d);
if (fish->class_type == BABL_FISH)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]