Fixed a typo introduced when I renamed the class members. The source area was checked instead of the cloned one.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19080 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Stefano Ceccherini 2006-10-19 10:10:06 +00:00
parent cf0656184d
commit 302f626047

View File

@ -1,5 +1,5 @@
/*
* Copyright 2003-2005, Haiku Inc.
* Copyright 2003-2006, Haiku Inc.
* Authors:
* Stefano Ceccherini (burton666@libero.it).
* Carwyn Jones (turok2@currantbun.com)
@ -450,7 +450,7 @@ BDirectWindow::InitData()
fClonedClippingArea = clone_area("Clone direct area", (void**)&fBufferDesc,
B_ANY_ADDRESS, B_READ_AREA, fSourceClippingArea);
if (fSourceClippingArea > 0) {
if (fClonedClippingArea > 0) {
fInitStatus |= DW_STATUS_AREA_CLONED;
fDirectDaemonId = spawn_thread(_DaemonStarter, "direct daemon",