Removed duplicated status variable, which would've caused the wrong value to be returned
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@15506 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
bff84e78b7
commit
56f2fa945f
@ -295,7 +295,6 @@ BDirectWindow::SetFullScreen(bool enable)
|
||||
fLink->StartMessage(AS_DIRECT_WINDOW_SET_FULLSCREEN);
|
||||
fLink->Attach<bool>(enable);
|
||||
|
||||
status_t status = B_ERROR;
|
||||
if (fLink->FlushWithReply(status) == B_OK
|
||||
&& status == B_OK)
|
||||
full_screen_enable = enable;
|
||||
|
Loading…
Reference in New Issue
Block a user