From e3716a9521a05fed3b0890c6949d721f47603985 Mon Sep 17 00:00:00 2001 From: Eugene Sandulenko Date: Fri, 11 Oct 2019 17:20:15 +0200 Subject: PINK: Fix border dimensions --- engines/pink/objects/actions/action_text.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'engines/pink/objects') diff --git a/engines/pink/objects/actions/action_text.cpp b/engines/pink/objects/actions/action_text.cpp index 2010380d39..cd1178c5ef 100644 --- a/engines/pink/objects/actions/action_text.cpp +++ b/engines/pink/objects/actions/action_text.cpp @@ -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); -- cgit v1.2.3