PINK: Fix border dimensions

This commit is contained in:
Eugene Sandulenko 2019-10-11 17:20:15 +02:00
parent 912bbf364c
commit e3716a9521

View File

@ -103,8 +103,8 @@ void ActionText::start() {
uint32 colorBlack = noborder->getSupportedPixelFormat().RGBToColor(0, 0, 0);
uint32 colorPink = noborder->getSupportedPixelFormat().RGBToColor(255, 0, 255);
for (int y = 0; y < 4; y++)
for (int x = 0; x < 4; x++)
for (int y = 0; y < 3; y++)
for (int x = 0; x < 3; x++)
*((uint32 *)noborder->getBasePtr(x, y)) = noborderData[y][x] ? colorBlack : colorPink;
_txtWnd->setBorder(noborder, true);