diff options
author | Colin Snover | 2016-02-18 00:07:28 -0600 |
---|---|---|
committer | Colin Snover | 2016-02-18 13:18:03 -0600 |
commit | 03e3f2c68cef429983787ddd38e74718db1ee8d1 (patch) | |
tree | ac137806ab11a8f332c752238971a07db9af6579 /engines/sci/engine | |
parent | 3c9b93050643579a379249b29c36a74acf1fdaa0 (diff) | |
download | scummvm-rg350-03e3f2c68cef429983787ddd38e74718db1ee8d1.tar.gz scummvm-rg350-03e3f2c68cef429983787ddd38e74718db1ee8d1.tar.bz2 scummvm-rg350-03e3f2c68cef429983787ddd38e74718db1ee8d1.zip |
SCI: Fix some rect off-by-ones
Diffstat (limited to 'engines/sci/engine')
-rw-r--r-- | engines/sci/engine/kgraphics32.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/sci/engine/kgraphics32.cpp b/engines/sci/engine/kgraphics32.cpp index cf53944652..03cbd66984 100644 --- a/engines/sci/engine/kgraphics32.cpp +++ b/engines/sci/engine/kgraphics32.cpp @@ -204,8 +204,8 @@ reg_t kCreateTextBitmap(EngineState *s, int argc, reg_t *argv) { Common::Rect rect( readSelectorValue(segMan, object, SELECTOR(textLeft)), readSelectorValue(segMan, object, SELECTOR(textTop)), - readSelectorValue(segMan, object, SELECTOR(textRight)), - readSelectorValue(segMan, object, SELECTOR(textBottom)) + readSelectorValue(segMan, object, SELECTOR(textRight)) + 1, + readSelectorValue(segMan, object, SELECTOR(textBottom)) + 1 ); if (subop == 0) { |