diff options
author | Martin Kiewitz | 2010-06-28 16:35:20 +0000 |
---|---|---|
committer | Martin Kiewitz | 2010-06-28 16:35:20 +0000 |
commit | e857cc623e86211ae0c59630342cbeea65214e6e (patch) | |
tree | 94f4b5e09314a86c54b3e5e64acc3d929866c894 /engines | |
parent | 0a58cdb6e96387eee2853a2cb9c72494cf816b1c (diff) | |
download | scummvm-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')
-rw-r--r-- | engines/sci/graphics/ports.cpp | 1 |
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; |