[Scummvm-cvs-logs] SF.net SVN: scummvm:[47332] scummvm/trunk/engines/sci/graphics/windowmgr. cpp
m_kiewitz at users.sourceforge.net
m_kiewitz at users.sourceforge.net
Sat Jan 16 22:00:15 CET 2010
Revision: 47332
http://scummvm.svn.sourceforge.net/scummvm/?rev=47332&view=rev
Author: m_kiewitz
Date: 2010-01-16 21:00:15 +0000 (Sat, 16 Jan 2010)
Log Message:
-----------
SCI: fix kNewWindow code to match the code in gregs engine
Modified Paths:
--------------
scummvm/trunk/engines/sci/graphics/windowmgr.cpp
Modified: scummvm/trunk/engines/sci/graphics/windowmgr.cpp
===================================================================
--- scummvm/trunk/engines/sci/graphics/windowmgr.cpp 2010-01-16 19:50:59 UTC (rev 47331)
+++ scummvm/trunk/engines/sci/graphics/windowmgr.cpp 2010-01-16 21:00:15 UTC (rev 47332)
@@ -155,7 +155,7 @@
}
r = dims;
- if (style == SCI_WINDOWMGR_STYLE_USER || !(style & SCI_WINDOWMGR_STYLE_NOFRAME)) {
+ if ((style != SCI_WINDOWMGR_STYLE_USER) && !(style & SCI_WINDOWMGR_STYLE_NOFRAME)) {
r.grow(1);
if (style & SCI_WINDOWMGR_STYLE_TITLE) {
r.top -= 10;
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