[Scummvm-cvs-logs] SF.net SVN: scummvm:[48807] scummvm/trunk/engines/sci/graphics/ports.cpp

m_kiewitz at users.sourceforge.net m_kiewitz at users.sourceforge.net
Mon Apr 26 17:30:33 CEST 2010


Revision: 48807
          http://scummvm.svn.sourceforge.net/scummvm/?rev=48807&view=rev
Author:   m_kiewitz
Date:     2010-04-26 15:30:32 +0000 (Mon, 26 Apr 2010)

Log Message:
-----------
SCI: fixing regression from r48771 - sierra used != before SCI1LATE and !(&) later - fixes broken windows in sq1

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-04-26 14:13:38 UTC (rev 48806)
+++ scummvm/trunk/engines/sci/graphics/ports.cpp	2010-04-26 15:30:32 UTC (rev 48807)
@@ -303,7 +303,7 @@
 	}
 
 	// drawing frame,shadow and title
-	if (wndStyle != _styleUser) {
+	if ((getSciVersion() >= SCI_VERSION_1_LATE) ? !(wndStyle & _styleUser) : wndStyle != _styleUser) {
 		r = pWnd->dims;
 		if (!(wndStyle & SCI_WINDOWMGR_STYLE_NOFRAME)) {
 			r.translate(1, 1);


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