From f6b8e0eae4374f339487a33e3e4fe5462d5816e1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Frings-F=C3=BCrst?= Date: Sat, 25 Nov 2017 10:16:00 +0100 Subject: New upstream version 2.0.0 --- spectro/colorhug.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) mode change 100644 => 100755 spectro/colorhug.c (limited to 'spectro/colorhug.c') diff --git a/spectro/colorhug.c b/spectro/colorhug.c old mode 100644 new mode 100755 index fefe766..aa8ba21 --- a/spectro/colorhug.c +++ b/spectro/colorhug.c @@ -33,6 +33,7 @@ #include "sa_config.h" #include "numsup.h" #endif /* SALONEINSTLIB */ +#include "cgats.h" #include "xspect.h" #include "insttypes.h" #include "conv.h" @@ -1197,7 +1198,7 @@ colorhug_get_set_opt(inst *pp, inst_opt_type m, ...) { } /* Constructor */ -extern colorhug *new_colorhug(icoms *icom, instType itype) { +extern colorhug *new_colorhug(icoms *icom, instType dtype) { colorhug *p; int i; @@ -1223,9 +1224,9 @@ extern colorhug *new_colorhug(icoms *icom, instType itype) { p->del = colorhug_del; p->icom = icom; - p->itype = itype; + p->dtype = dtype; - if (itype == instColorHug2) + if (dtype == instColorHug2) p->stype = ch_two; icmSetUnity3x3(p->ccmat); -- cgit v1.2.3