No reason to return B_ERROR when the method doesn't have to do anything.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17803 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Axel Dörfler 2006-06-12 21:56:06 +00:00
parent 66e114c429
commit 16b4861f05
1 changed files with 1 additions and 1 deletions

View File

@ -1455,7 +1455,7 @@ status_t
BView::SetEventMask(uint32 mask, uint32 options)
{
if (fEventMask == mask && fEventOptions == options)
return B_ERROR;
return B_OK;
fEventMask = mask | (fEventMask & 0xFFFF0000);
fEventOptions = options;