Skip to content

Commit 762981e

Browse files
ssproessigge0rdi
authored andcommitted
1 parent 11bd5fa commit 762981e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ClassicShellSrc/ClassicStartMenu/ClassicStartMenuDLL/MenuContainer.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7905,7 +7905,7 @@ HWND CMenuContainer::ToggleStartMenu( int taskbarId, bool bKeyboard, bool bAllPr
79057905
}
79067906
break;
79077907
case MENU_SLEEP:
7908-
g_StdOptions[i].options=(!s_bNoClose && (powerCaps.SystemS1 || powerCaps.SystemS2 || powerCaps.SystemS3))?MENU_ENABLED|MENU_EXPANDED:0;
7908+
g_StdOptions[i].options=(!s_bNoClose && (powerCaps.SystemS1 || powerCaps.SystemS2 || powerCaps.SystemS3 || powerCaps.AoAc))?MENU_ENABLED|MENU_EXPANDED:0;
79097909
break;
79107910
case MENU_HIBERNATE:
79117911
g_StdOptions[i].options=(!s_bNoClose && bHibernate)?MENU_ENABLED|MENU_EXPANDED:0;

0 commit comments

Comments
 (0)