diff --git a/TODO.md b/TODO.md index 8cdb4c29..7a32ed82 100644 --- a/TODO.md +++ b/TODO.md @@ -41,7 +41,7 @@ - determine whether or not margins count in preferredSize() when there is no main control - menu item state change while the menu is visible (not in response to user action) - OS X: requires an [NSMenu update] call after changing state - - Windows: requires getting current menu state when amending it; see relevant line in windows/menu.c + - Windows: requires getting current menu state when amending it in sync() - figure out where we should return HRESULTs - Windows: don't abort if a cleanup function fails? - should uiWindowOnClosing() really return an int? diff --git a/windows/menu.c b/windows/menu.c index 9c467941..f0835ce7 100644 --- a/windows/menu.c +++ b/windows/menu.c @@ -48,7 +48,6 @@ static void sync(struct menuItem *item) uintmax_t i; MENUITEMINFOW mi; - // TODO do we need to get the current state and amend it? ZeroMemory(&mi, sizeof (MENUITEMINFOW)); mi.cbSize = sizeof (MENUITEMINFOW); mi.fMask = MIIM_STATE;