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:
Stefano Ceccherini
2007-01-03 07:35:31 +00:00
parent 52924c5ef9
commit ae9aed772e
+2 -2
View File
@@ -1426,7 +1426,7 @@ BView::GetMouse(BPoint *location, uint32 *buttons, bool checkMessageQueue)
if (deleteMessage) if (deleteMessage)
delete message; delete message;
return; return;
} }
} }
@@ -1447,7 +1447,7 @@ BView::GetMouse(BPoint *location, uint32 *buttons, bool checkMessageQueue)
// TODO: See above comment about coordinates // TODO: See above comment about coordinates
ConvertFromScreen(location); ConvertFromScreen(location);
} else } else
buttons = 0; *buttons = 0;
} }