Bugfix: Graphical glitch when drawing beveled squares (classic theme).

svn-id: r34611
This commit is contained in:
Vicent Marti 2008-09-20 14:06:18 +00:00
parent 46168618be
commit 4f511db2c1

View File

@ -933,7 +933,7 @@ drawBevelSquareAlg(int x, int y, int w, int h, int bevel, PixelType top_color, P
}
i = h - bevel;
j = bevel;
j = bevel - 1;
ptr_left = (PixelType *)_activeSurface->getBasePtr(x + w - bevel, y);
while (i--) {
colorFill(ptr_left + j, ptr_left + bevel, bottom_color);