From 21644ee234d0acb95eb49b2ebf739b9093936490 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lubo=C5=A1=20Lu=C5=88=C3=A1k?= Date: Sun, 9 Apr 2006 09:40:21 +0000 Subject: [PATCH] I hate backwards compatibility. svn path=/trunk/KDE/kdebase/workspace/; revision=527752 --- geometry.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/geometry.cpp b/geometry.cpp index e59b83a06f..0b20fce842 100644 --- a/geometry.cpp +++ b/geometry.cpp @@ -1807,7 +1807,7 @@ void Client::changeMaximize( bool vertical, bool horizontal, bool adjust ) // maximing one way and unmaximizing the other way shouldn't happen Q_ASSERT( !( vertical && horizontal ) - || (( max_mode & MaximizeVertical != 0 ) == ( max_mode & MaximizeHorizontal != 0 ))); + || ((( max_mode & MaximizeVertical ) != 0 ) == (( max_mode & MaximizeHorizontal ) != 0 ))); QRect clientArea = workspace()->clientArea( MaximizeArea, this );