diff options
author | Eugene Sandulenko | 2015-12-20 14:08:50 +0100 |
---|---|---|
committer | Eugene Sandulenko | 2015-12-27 15:40:57 +0100 |
commit | bb46957defcc1dc5182af6b8efe91086e572e991 (patch) | |
tree | 176e489a6a0ea00c146f5cda139750604f00545e /engines/wage/design.cpp | |
parent | a4ba9313be311637ac9c1a6185184b497182c540 (diff) | |
download | scummvm-rg350-bb46957defcc1dc5182af6b8efe91086e572e991.tar.gz scummvm-rg350-bb46957defcc1dc5182af6b8efe91086e572e991.tar.bz2 scummvm-rg350-bb46957defcc1dc5182af6b8efe91086e572e991.zip |
WAGE: Fixed ver/horisontal lines thickness
Diffstat (limited to 'engines/wage/design.cpp')
-rw-r--r-- | engines/wage/design.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/wage/design.cpp b/engines/wage/design.cpp index bafb3ad63f..0b9db3b2a2 100644 --- a/engines/wage/design.cpp +++ b/engines/wage/design.cpp @@ -560,13 +560,13 @@ void Design::drawThickLine (int x1, int y1, int x2, int y2, int thick, int color if (dx == 0) { if (y1 > y2) SWAP(y1, y2); - Common::Rect r(x1, y1, x1 + thick, y2); + Common::Rect r(x1, y1, x1 + thick - 1, y2); drawFilledRect(r, color, plotProc, data); return; } else if (dy == 0) { if (x1 > x2) SWAP(x1, x2); - Common::Rect r(x1, y1, x2, y1 + thick); + Common::Rect r(x1, y1, x2, y1 + thick - 1); drawFilledRect(r, color, plotProc, data); return; } |