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:
@@ -1516,7 +1516,7 @@ WindowLayer::RemoveFromSubset(WindowLayer* window)
|
|||||||
bool
|
bool
|
||||||
WindowLayer::HasInSubset(const WindowLayer* window) const
|
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;
|
return false;
|
||||||
|
|
||||||
// we have a few special feels that have a fixed order
|
// we have a few special feels that have a fixed order
|
||||||
|
|||||||
Reference in New Issue
Block a user