aboutsummaryrefslogtreecommitdiff
path: root/engines/pink/objects/actions/action_text.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/pink/objects/actions/action_text.cpp')
-rw-r--r--engines/pink/objects/actions/action_text.cpp4
1 files changed, 2 insertions, 2 deletions
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);