[Scummvm-cvs-logs] SF.net SVN: scummvm:[51306] scummvm/trunk/engines/sci/graphics/ports.cpp
thebluegr at users.sourceforge.net
thebluegr at users.sourceforge.net
Mon Jul 26 11:18:05 CEST 2010
Revision: 51306
http://scummvm.svn.sourceforge.net/scummvm/?rev=51306&view=rev
Author: thebluegr
Date: 2010-07-26 09:18:04 +0000 (Mon, 26 Jul 2010)
Log Message:
-----------
SCI: Some cosmetic changes to the warning thrown when fixing invalid windows
Modified Paths:
--------------
scummvm/trunk/engines/sci/graphics/ports.cpp
Modified: scummvm/trunk/engines/sci/graphics/ports.cpp
===================================================================
--- scummvm/trunk/engines/sci/graphics/ports.cpp 2010-07-26 09:16:57 UTC (rev 51305)
+++ scummvm/trunk/engines/sci/graphics/ports.cpp 2010-07-26 09:18:04 UTC (rev 51306)
@@ -250,9 +250,10 @@
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);
+ // 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.
+ // Also happens frequently in the demo of GK1.
+ warning("Fixing too large window, left: %d, right: %d", dims.left, dims.right);
r.left = 0;
r.right = _screen->getWidth() - 1;
if ((style != _styleUser) && !(style & SCI_WINDOWMGR_STYLE_NOFRAME))
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the Scummvm-git-logs
mailing list