From 5b65c587152dafb6300a2a9884c340f24b9f6595 Mon Sep 17 00:00:00 2001 From: Pietro Gagliardi Date: Wed, 6 May 2015 18:56:12 -0400 Subject: [PATCH] Removed a stale TODO. --- TODO.md | 2 +- windows/menu.c | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) 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;