From 12ac708ae51f2eaa7478bd4a1a95891d03e354fb Mon Sep 17 00:00:00 2001
From: Julian Harnath <julian.harnath@rwth-aachen.de>
Date: Sun, 18 Nov 2012 15:10:32 +0100
Subject: [PATCH] Fix BDirectWindow::GetClippingRect
---
src/kits/game/DirectWindow.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/kits/game/DirectWindow.cpp b/src/kits/game/DirectWindow.cpp
index 5e30f64..ed850a1 100644
a
|
b
|
BDirectWindow::GetClippingRegion(BRegion *region, BPoint *origin) const
|
365 | 365 | if (IsLocked() || !_LockDirect()) |
366 | 366 | return B_ERROR; |
367 | 367 | |
368 | | if (fInDirectConnect) { |
| 368 | if (!fInDirectConnect) { |
369 | 369 | _UnlockDirect(); |
370 | 370 | return B_ERROR; |
371 | 371 | } |