The compiler warns, and it is correct - DPMSState() and DPMSCapabilities
are supposed to return flags, and not a status_t. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@25529 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -451,7 +451,7 @@ BScreen::DPMSState()
|
|||||||
{
|
{
|
||||||
if (fScreen != NULL)
|
if (fScreen != NULL)
|
||||||
return fScreen->DPMSState();
|
return fScreen->DPMSState();
|
||||||
return B_ERROR;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@@ -462,7 +462,7 @@ BScreen::DPMSCapabilites()
|
|||||||
{
|
{
|
||||||
if (fScreen != NULL)
|
if (fScreen != NULL)
|
||||||
return fScreen->DPMSCapabilites();
|
return fScreen->DPMSCapabilites();
|
||||||
return B_ERROR;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user