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:
Stephan Aßmus
2008-05-17 16:50:29 +00:00
parent 0e2a404fc9
commit 91af9113d6
+2 -2
View File
@@ -451,7 +451,7 @@ BScreen::DPMSState()
{
if (fScreen != NULL)
return fScreen->DPMSState();
return B_ERROR;
return 0;
}
@@ -462,7 +462,7 @@ BScreen::DPMSCapabilites()
{
if (fScreen != NULL)
return fScreen->DPMSCapabilites();
return B_ERROR;
return 0;
}