[Scummvm-git-logs] scummvm master -> e3716a9521a05fed3b0890c6949d721f47603985

sev- sev at scummvm.org
Fri Oct 11 17:20:59 CEST 2019


This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .

Summary:
e3716a9521 PINK: Fix border dimensions


Commit: e3716a9521a05fed3b0890c6949d721f47603985
    https://github.com/scummvm/scummvm/commit/e3716a9521a05fed3b0890c6949d721f47603985
Author: Eugene Sandulenko (sev at scummvm.org)
Date: 2019-10-11T17:20:15+02:00

Commit Message:
PINK: Fix border dimensions

Changed paths:
    engines/pink/objects/actions/action_text.cpp


diff --git a/engines/pink/objects/actions/action_text.cpp b/engines/pink/objects/actions/action_text.cpp
index 2010380..cd1178c 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);





More information about the Scummvm-git-logs mailing list