From a4dab27fab60c9c0193868975b61b8fce22aa974 Mon Sep 17 00:00:00 2001 From: Clemens Zeidler Date: Sun, 19 Sep 2010 20:54:06 +0000 Subject: [PATCH] Fix crash #6615 and #6566. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38728 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- src/add-ons/decorators/SATDecorator/StackAndTile.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/add-ons/decorators/SATDecorator/StackAndTile.cpp b/src/add-ons/decorators/SATDecorator/StackAndTile.cpp index 33a5d66605..9c93eb04fa 100644 --- a/src/add-ons/decorators/SATDecorator/StackAndTile.cpp +++ b/src/add-ons/decorators/SATDecorator/StackAndTile.cpp @@ -126,7 +126,7 @@ void StackAndTile::MouseDown(Window* window, BMessage* message, const BPoint& where) { SATWindow* satWindow = GetSATWindow(window); - if (!satWindow) + if (!satWindow || !satWindow->GetDecorator()) return; int32 modifiers = message->FindInt32("modifiers");