Parameter "window" is now allowed to be NULL (this fixes a crashing bug I introduced earlier).
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18617 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
b611759230
commit
17c6d00009
@ -1516,7 +1516,7 @@ WindowLayer::RemoveFromSubset(WindowLayer* window)
|
||||
bool
|
||||
WindowLayer::HasInSubset(const WindowLayer* window) const
|
||||
{
|
||||
if (fFeel == window->Feel() || fFeel == B_NORMAL_WINDOW_FEEL)
|
||||
if (window == NULL || fFeel == window->Feel() || fFeel == B_NORMAL_WINDOW_FEEL)
|
||||
return false;
|
||||
|
||||
// we have a few special feels that have a fixed order
|
||||
|
Loading…
Reference in New Issue
Block a user