Fix BDirectWindow::GetClippingRect
Signed-off-by: Jérôme Duval <jerome.duval@gmail.com>
This commit is contained in:
parent
37b14b15ab
commit
49d7857e32
@ -365,7 +365,7 @@ BDirectWindow::GetClippingRegion(BRegion *region, BPoint *origin) const
|
||||
if (IsLocked() || !_LockDirect())
|
||||
return B_ERROR;
|
||||
|
||||
if (fInDirectConnect) {
|
||||
if (!fInDirectConnect) {
|
||||
_UnlockDirect();
|
||||
return B_ERROR;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user