From a0442ed58dee48a521ea053083ea967894507898 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Frings-F=C3=BCrst?= Date: Wed, 11 Jul 2018 22:19:56 +0200 Subject: New upstream version 2.0.1+repack --- namedc/namedc.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'namedc/namedc.c') diff --git a/namedc/namedc.c b/namedc/namedc.c index 2fc7796..7f8967f 100755 --- a/namedc/namedc.c +++ b/namedc/namedc.c @@ -710,7 +710,7 @@ static int read_cxf(namedc *p, const char *filename, int options) { else if (strcmp(name, "FieldOfView_10_Degree") == 0) p->obs = icxOT_CIE_1964_10; else { - a1logd(p->log, 2, "read_cxf: Illuminant '%s' unrecognised\n",name); + a1logd(p->log, 2, "read_cxf: Observer '%s' unrecognised\n",name); p->obs = icxOT_CIE_1931_2; } } @@ -784,7 +784,7 @@ static int read_cxf(namedc *p, const char *filename, int options) { else if (strcmp(name, "10_Degree") == 0) p->obs = icxOT_CIE_1964_10; else { - a1logd(p->log, 2, "read_cxf: Illuminant '%s' unrecognised\n",name); + a1logd(p->log, 2, "read_cxf: Observer '%s' unrecognised\n",name); p->obs = icxOT_CIE_1931_2; } } @@ -1087,7 +1087,7 @@ int match(struct _namedc *p, double *de, double *pLab, xspect *rspect, int deTyp if (rspect != NULL) { if (p->sp2cie == NULL) { - if ((p->sp2cie = new_xsp2cie(p->ill, NULL, p->obs, NULL, icSigLabData, 0)) == NULL) { + if ((p->sp2cie = new_xsp2cie(p->ill, 0.0, NULL, p->obs, NULL, icSigLabData, 0)) == NULL) { snprintf(p->err, NAMEDC_ERRL, "creating spetral conversion failed"); a1logd(p->log, 1, "match: %s\n",p->err); return -1; @@ -1109,7 +1109,7 @@ int match(struct _namedc *p, double *de, double *pLab, xspect *rspect, int deTyp xsp2cie *tt; xspect ts; // Get the XYZ of the given white point for the illuminant and observer - if ((tt = new_xsp2cie(p->ill, NULL, p->obs, NULL, icSigXYZData, 0)) == NULL) { + if ((tt = new_xsp2cie(p->ill, 0.0, NULL, p->obs, NULL, icSigXYZData, 0)) == NULL) { snprintf(p->err, NAMEDC_ERRL, "creating spetral conversion failed"); a1logd(p->log, 1, "match: %s\n",p->err); return -1; -- cgit v1.2.3