summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--AUTHORS1
-rw-r--r--src/cmssm.c4
2 files changed, 3 insertions, 2 deletions
diff --git a/AUTHORS b/AUTHORS
index b590aca..4e77bf0 100644
--- a/AUTHORS
+++ b/AUTHORS
@@ -25,3 +25,4 @@ Jan Morovic
Jos Vernon (WebSupergoo)
Harald Schneider (Maxon)
Christian Albrecht
+Dimitrios Anastassakis
diff --git a/src/cmssm.c b/src/cmssm.c
index 5f11180..fbd8af3 100644
--- a/src/cmssm.c
+++ b/src/cmssm.c
@@ -553,13 +553,13 @@ cmsBool CMSEXPORT cmsGDBCompute(cmsHANDLE hGBD, cmsUInt32Number dwFlags)
_cmsAssert(hGBD != NULL);
// Interpolate black
- for (alpha = 0; alpha <= SECTORS; alpha++) {
+ for (alpha = 0; alpha < SECTORS; alpha++) {
if (!InterpolateMissingSector(gbd, alpha, 0)) return FALSE;
}
// Interpolate white
- for (alpha = 0; alpha <= SECTORS; alpha++) {
+ for (alpha = 0; alpha < SECTORS; alpha++) {
if (!InterpolateMissingSector(gbd, alpha, SECTORS-1)) return FALSE;
}