summaryrefslogtreecommitdiff
path: root/src/cmswtpnt.c
diff options
context:
space:
mode:
authorSebastian Rasmussen <sebras@gmail.com>2017-12-13 16:02:04 +0100
committerSebastian Rasmussen <sebras@gmail.com>2017-12-13 16:47:13 +0100
commit206af72dfb0a2c1098fe5bd97bfa141d55cfc288 (patch)
tree71dcbfe496e982df19c8fc3bec131c9af3bb507a /src/cmswtpnt.c
parent7e302af92e5602e8d99b05b10f9a6fe80c8ea688 (diff)
downloadlcms2-206af72dfb0a2c1098fe5bd97bfa141d55cfc288.tar.gz
Reindent some lines, fixing gcc indentation warnings.
LittleCMS now compiles without warnings using: CFLAGS=-Wall ./configure && make
Diffstat (limited to 'src/cmswtpnt.c')
-rw-r--r--src/cmswtpnt.c18
1 files changed, 9 insertions, 9 deletions
diff --git a/src/cmswtpnt.c b/src/cmswtpnt.c
index 9f90d6a..fab0da2 100644
--- a/src/cmswtpnt.c
+++ b/src/cmswtpnt.c
@@ -75,19 +75,19 @@ cmsBool CMSEXPORT cmsWhitePointFromTemp(cmsCIExyY* WhitePoint, cmsFloat64Number
return FALSE;
}
- // Obtain y(x)
- y = -3.000*(x*x) + 2.870*x - 0.275;
+ // Obtain y(x)
+ y = -3.000*(x*x) + 2.870*x - 0.275;
- // wave factors (not used, but here for futures extensions)
+ // wave factors (not used, but here for futures extensions)
- // M1 = (-1.3515 - 1.7703*x + 5.9114 *y)/(0.0241 + 0.2562*x - 0.7341*y);
- // M2 = (0.0300 - 31.4424*x + 30.0717*y)/(0.0241 + 0.2562*x - 0.7341*y);
+ // M1 = (-1.3515 - 1.7703*x + 5.9114 *y)/(0.0241 + 0.2562*x - 0.7341*y);
+ // M2 = (0.0300 - 31.4424*x + 30.0717*y)/(0.0241 + 0.2562*x - 0.7341*y);
- WhitePoint -> x = x;
- WhitePoint -> y = y;
- WhitePoint -> Y = 1.0;
+ WhitePoint -> x = x;
+ WhitePoint -> y = y;
+ WhitePoint -> Y = 1.0;
- return TRUE;
+ return TRUE;
}