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:
@@ -295,7 +295,6 @@ BDirectWindow::SetFullScreen(bool enable)
|
|||||||
fLink->StartMessage(AS_DIRECT_WINDOW_SET_FULLSCREEN);
|
fLink->StartMessage(AS_DIRECT_WINDOW_SET_FULLSCREEN);
|
||||||
fLink->Attach<bool>(enable);
|
fLink->Attach<bool>(enable);
|
||||||
|
|
||||||
status_t status = B_ERROR;
|
|
||||||
if (fLink->FlushWithReply(status) == B_OK
|
if (fLink->FlushWithReply(status) == B_OK
|
||||||
&& status == B_OK)
|
&& status == B_OK)
|
||||||
full_screen_enable = enable;
|
full_screen_enable = enable;
|
||||||
|
|||||||
Reference in New Issue
Block a user