Fixed a stupid copy&paste bug.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18605 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Axel Dörfler 2006-08-24 12:33:15 +00:00
parent eb60393dde
commit 967302c5b7

View File

@ -2979,7 +2979,7 @@ BWindow::_SanitizeMessage(BMessage* message, BHandler* target, bool usePreferred
bool
BWindow::_StealMouseMessage(BMessage* message, bool& deleteMessage)
{
BMessage::Private messagePrivate(fLastMessage);
BMessage::Private messagePrivate(message);
if (!messagePrivate.UsePreferredTarget()) {
// this message is targeted at a specific handler, so we should
// not steal it