diff options
| author | Eugene Sandulenko | 2019-10-11 17:20:15 +0200 | 
|---|---|---|
| committer | Eugene Sandulenko | 2019-10-11 17:20:15 +0200 | 
| commit | e3716a9521a05fed3b0890c6949d721f47603985 (patch) | |
| tree | ce8ac35480f9747caee913384d5f8eea520bd37d | |
| parent | 912bbf364c1c287f891291229d30226a5a71eed9 (diff) | |
| download | scummvm-rg350-e3716a9521a05fed3b0890c6949d721f47603985.tar.gz scummvm-rg350-e3716a9521a05fed3b0890c6949d721f47603985.tar.bz2 scummvm-rg350-e3716a9521a05fed3b0890c6949d721f47603985.zip | |
PINK: Fix border dimensions
| -rw-r--r-- | engines/pink/objects/actions/action_text.cpp | 4 | 
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); | 
