in case of error, set buttons to 0, for real
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19687 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -1426,7 +1426,7 @@ BView::GetMouse(BPoint *location, uint32 *buttons, bool checkMessageQueue)
|
||||
|
||||
if (deleteMessage)
|
||||
delete message;
|
||||
|
||||
|
||||
return;
|
||||
}
|
||||
}
|
||||
@@ -1447,7 +1447,7 @@ BView::GetMouse(BPoint *location, uint32 *buttons, bool checkMessageQueue)
|
||||
// TODO: See above comment about coordinates
|
||||
ConvertFromScreen(location);
|
||||
} else
|
||||
buttons = 0;
|
||||
*buttons = 0;
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user