diff options
| author | Martin Kiewitz | 2010-01-16 21:00:15 +0000 | 
|---|---|---|
| committer | Martin Kiewitz | 2010-01-16 21:00:15 +0000 | 
| commit | 570911b83ede482386a7c0212b982ce8a06c86bd (patch) | |
| tree | 81704fefedefc9df0dd8abea311c4a2c5d207409 | |
| parent | 3e0251eced95596260cf79e67db0497e3a6a121c (diff) | |
| download | scummvm-rg350-570911b83ede482386a7c0212b982ce8a06c86bd.tar.gz scummvm-rg350-570911b83ede482386a7c0212b982ce8a06c86bd.tar.bz2 scummvm-rg350-570911b83ede482386a7c0212b982ce8a06c86bd.zip | |
SCI: fix kNewWindow code to match the code in gregs engine
svn-id: r47332
| -rw-r--r-- | engines/sci/graphics/windowmgr.cpp | 2 | 
1 files changed, 1 insertions, 1 deletions
| diff --git a/engines/sci/graphics/windowmgr.cpp b/engines/sci/graphics/windowmgr.cpp index f81c38603b..8b30b54a2d 100644 --- a/engines/sci/graphics/windowmgr.cpp +++ b/engines/sci/graphics/windowmgr.cpp @@ -155,7 +155,7 @@ Window *WindowMgr::NewWindow(const Common::Rect &dims, const Common::Rect *resto  	}  	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; | 
