Corrected an error with the "slots" function that prevents slots

from being generated in areas of negative coordinates when a
grid limit is defined for the output style.
This commit is contained in:
Tim Edwards 2020-07-30 21:01:24 -04:00
parent 313112329c
commit 2e0e7af3f3
2 changed files with 9 additions and 3 deletions

View File

@ -1 +1 @@
8.3.43
8.3.44

View File

@ -3444,7 +3444,10 @@ calcX:
delta = abs(*sxbot) % CIFCurStyle->cs_gridLimit;
if (delta > 0)
{
*axtop -= 2 * delta;
if (*sxbot >= 0)
*axtop -= 2 * delta;
else
*axtop += 2 * delta;
goto calcX;
}
}
@ -3471,7 +3474,10 @@ calcY:
delta = abs(*sybot) % CIFCurStyle->cs_gridLimit;
if (delta > 0)
{
*aytop -= 2 * delta;
if (*sybot >= 0)
*aytop -= 2 * delta;
else
*aytop += 2 * delta;
goto calcY;
}
}