aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/graphics/ports.cpp
diff options
context:
space:
mode:
authorMartin Kiewitz2010-06-28 16:35:20 +0000
committerMartin Kiewitz2010-06-28 16:35:20 +0000
commite857cc623e86211ae0c59630342cbeea65214e6e (patch)
tree94f4b5e09314a86c54b3e5e64acc3d929866c894 /engines/sci/graphics/ports.cpp
parent0a58cdb6e96387eee2853a2cb9c72494cf816b1c (diff)
downloadscummvm-rg350-e857cc623e86211ae0c59630342cbeea65214e6e.tar.gz
scummvm-rg350-e857cc623e86211ae0c59630342cbeea65214e6e.tar.bz2
scummvm-rg350-e857cc623e86211ae0c59630342cbeea65214e6e.zip
SCI: added comment - lsl5 also has too large windows
svn-id: r50450
Diffstat (limited to 'engines/sci/graphics/ports.cpp')
-rw-r--r--engines/sci/graphics/ports.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/engines/sci/graphics/ports.cpp b/engines/sci/graphics/ports.cpp
index 36f84c3582..611db1061a 100644
--- a/engines/sci/graphics/ports.cpp
+++ b/engines/sci/graphics/ports.cpp
@@ -251,6 +251,7 @@ Window *GfxPorts::newWindow(const Common::Rect &dims, const Common::Rect *restor
r = dims;
if (r.width() > _screen->getWidth()) {
// We get invalid dimensions at least at the end of sq3 (script bug!)
+ // same happens very often in lsl5, sierra sci didnt fix it but it looked awful
warning("fixing too large window, given left&right was %d, %d", dims.left, dims.right);
r.left = 0;
r.right = _screen->getWidth() - 1;