8042090: Fix invalid variable names sun/java2d/loops/ProcessPath.c

Reviewed-by: prr
This commit is contained in:
Volker Simonis 2014-04-30 11:29:29 +02:00
parent bb2698cfa6
commit b8cc933de8

View File

@ -189,34 +189,34 @@
#define PROCESS_POINT(hnd, fX, fY, checkBounds, pixelInfo) \ #define PROCESS_POINT(hnd, fX, fY, checkBounds, pixelInfo) \
do { \ do { \
jint _X = (fX)>> MDP_PREC; \ jint X_ = (fX)>> MDP_PREC; \
jint _Y = (fY)>> MDP_PREC; \ jint Y_ = (fY)>> MDP_PREC; \
if (checkBounds && \ if (checkBounds && \
(hnd->dhnd->yMin > _Y || \ (hnd->dhnd->yMin > Y_ || \
hnd->dhnd->yMax <= _Y || \ hnd->dhnd->yMax <= Y_ || \
hnd->dhnd->xMin > _X || \ hnd->dhnd->xMin > X_ || \
hnd->dhnd->xMax <= _X)) break; \ hnd->dhnd->xMax <= X_)) break; \
/* \ /* \
* (_X,_Y) should be inside boundaries \ * (X_,Y_) should be inside boundaries \
* \ * \
* assert(hnd->dhnd->yMin <= _Y && \ * assert(hnd->dhnd->yMin <= Y_ && \
* hnd->dhnd->yMax > _Y && \ * hnd->dhnd->yMax > Y_ && \
* hnd->dhnd->xMin <= _X && \ * hnd->dhnd->xMin <= X_ && \
* hnd->dhnd->xMax > _X); \ * hnd->dhnd->xMax > X_); \
* \ * \
*/ \ */ \
if (pixelInfo[0] == 0) { \ if (pixelInfo[0] == 0) { \
pixelInfo[0] = 1; \ pixelInfo[0] = 1; \
pixelInfo[1] = _X; \ pixelInfo[1] = X_; \
pixelInfo[2] = _Y; \ pixelInfo[2] = Y_; \
pixelInfo[3] = _X; \ pixelInfo[3] = X_; \
pixelInfo[4] = _Y; \ pixelInfo[4] = Y_; \
hnd->dhnd->pDrawPixel(hnd->dhnd, _X, _Y); \ hnd->dhnd->pDrawPixel(hnd->dhnd, X_, Y_); \
} else if ((_X != pixelInfo[3] || _Y != pixelInfo[4]) && \ } else if ((X_ != pixelInfo[3] || Y_ != pixelInfo[4]) && \
(_X != pixelInfo[1] || _Y != pixelInfo[2])) { \ (X_ != pixelInfo[1] || Y_ != pixelInfo[2])) { \
hnd->dhnd->pDrawPixel(hnd->dhnd, _X, _Y); \ hnd->dhnd->pDrawPixel(hnd->dhnd, X_, Y_); \
pixelInfo[3] = _X; \ pixelInfo[3] = X_; \
pixelInfo[4] = _Y; \ pixelInfo[4] = Y_; \
} \ } \
} while(0) } while(0)