From 967302c5b72558235cbd795842fd480643d4f16b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Axel=20D=C3=B6rfler?= Date: Thu, 24 Aug 2006 12:33:15 +0000 Subject: [PATCH] Fixed a stupid copy&paste bug. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18605 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- src/kits/interface/Window.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/kits/interface/Window.cpp b/src/kits/interface/Window.cpp index 89910d7e69..743938c273 100644 --- a/src/kits/interface/Window.cpp +++ b/src/kits/interface/Window.cpp @@ -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