Windows: Clear help menu correctly.

This commit is contained in:
Unknown W. Brackets 2019-03-03 21:34:32 -08:00
parent 2d5acc83b6
commit 7428216063

View File

@ -93,7 +93,7 @@ namespace MainWindow {
static void EmptySubMenu(HMENU menu) {
int c = GetMenuItemCount(menu);
for (int i = 0; i < c; ++i) {
RemoveMenu(menu, i, MF_BYPOSITION);
RemoveMenu(menu, 0, MF_BYPOSITION);
}
}