[babl] rename define for default BABL_TOLERANCE to match envvar
- From: Øyvind Kolås <ok src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [babl] rename define for default BABL_TOLERANCE to match envvar
- Date: Mon, 28 Nov 2016 11:15:00 +0000 (UTC)
commit 6f0e1fe6f45aba7bb52b0c3e7c3ea1fc6e2489ac
Author: Øyvind Kolås <pippin gimp org>
Date: Mon Nov 28 12:14:45 2016 +0100
rename define for default BABL_TOLERANCE to match envvar
babl/babl-fish-path.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/babl/babl-fish-path.c b/babl/babl-fish-path.c
index f4df8cf..23e7757 100644
--- a/babl/babl-fish-path.c
+++ b/babl/babl-fish-path.c
@@ -21,7 +21,7 @@
#include "babl-internal.h"
#include "babl-ref-pixels.h"
-#define BABL_LEGAL_ERROR 0.000006
+#define BABL_TOLERANCE 0.000006
#define BABL_MAX_COST_VALUE 2000000
#define BABL_HARD_MAX_PATH_LENGTH 8
#define BABL_MAX_NAME_LEN 1024
@@ -111,7 +111,7 @@ double _babl_legal_error (void)
if (env && env[0] != '\0')
error = babl_parse_double (env);
else
- error = BABL_LEGAL_ERROR;
+ error = BABL_TOLERANCE;
env = getenv ("BABL_DEBUG_CONVERSIONS");
if (env && env[0] != '\0')
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]