diff options
| -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; | 
