From c07d0c2d2f6f7b0eb6e92cc6204bf05037957e82 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Frings-F=C3=BCrst?= Date: Mon, 1 Sep 2014 15:43:52 +0200 Subject: Imported Upstream version 1.6.3 --- xicc/specplot.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'xicc/specplot.c') diff --git a/xicc/specplot.c b/xicc/specplot.c index b2baf05..8e52726 100644 --- a/xicc/specplot.c +++ b/xicc/specplot.c @@ -107,7 +107,7 @@ static int do_spec( /* Compute XYZ of illuminant */ if (icx_ill_sp2XYZ(xyz, icxOT_CIE_1931_2, NULL, icxIT_custom, 0, &tsp) != 0) - error ("icx_sp_temp2XYZ returned error"); + warning("icx_sp_temp2XYZ returned error"); icmXYZ2Yxy(Yxy, xyz); icmXYZ2Lab(&icmD50, Lab, xyz); @@ -129,11 +129,11 @@ static int do_spec( /* Compute CCT */ if ((cct = icx_XYZ2ill_ct(cct_xyz, BBTYPE, icxOT_CIE_1931_2, NULL, xyz, NULL, 0)) < 0) - error ("Got bad cct\n"); + warning("Got bad cct\n"); /* Compute VCT */ if ((vct = icx_XYZ2ill_ct(vct_xyz, BBTYPE, icxOT_CIE_1931_2, NULL, xyz, NULL, 1)) < 0) - error ("Got bad vct\n"); + warning("Got bad vct\n"); #ifdef PLANKIAN printf("CCT = %f, VCT = %f\n",cct, vct); -- cgit v1.2.3