- Fix a typo

svn path=/trunk/; revision=46488
This commit is contained in:
Cameron Gutman 2010-03-27 14:40:36 +00:00
parent 474bc78d7d
commit 6e6623f762

View file

@ -275,7 +275,7 @@ ACPIDispatchDeviceControl(
Caps |= SYS_BUTTON_SLEEP;
}
}
if (wcsstr(((PPDO_DEVICE_DATA)commonData)->HardwareIDs, L"PNP0C0C"))
else if (wcsstr(((PPDO_DEVICE_DATA)commonData)->HardwareIDs, L"PNP0C0C"))
{
DPRINT1("Control method power button reported to power manager\n");
Caps |= SYS_BUTTON_POWER;