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:
parent
66e114c429
commit
16b4861f05
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user