* small fix

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19386 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Stephan Aßmus 2006-11-29 03:13:15 +00:00
parent 4dbe78a0cd
commit 64792e619e
1 changed files with 1 additions and 1 deletions

View File

@ -74,7 +74,7 @@ Decorator *
DecorInfo::Instantiate(Desktop* desktop, BRect rect, const char *title,
window_look look, uint32 flags)
{
if (desktop->LockSingleWindow() == NULL)
if (!desktop->LockSingleWindow())
return NULL;
DesktopSettings settings(desktop);