diff options
-rw-r--r-- | AUTHORS | 1 | ||||
-rw-r--r-- | src/cmssm.c | 4 |
2 files changed, 3 insertions, 2 deletions
@@ -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; } |