From a2c29990ecf6df2b71dc34d7c164960efcebefb4 Mon Sep 17 00:00:00 2001 From: kichik Date: Fri, 18 Jan 2008 13:49:52 +0000 Subject: [PATCH] bring back comment git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5483 212acab6-be3b-0410-9dea-997c60f758d6 --- Contrib/nsDialogs/nsDialogs.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Contrib/nsDialogs/nsDialogs.c b/Contrib/nsDialogs/nsDialogs.c index 635f1e78..46c873da 100644 --- a/Contrib/nsDialogs/nsDialogs.c +++ b/Contrib/nsDialogs/nsDialogs.c @@ -171,6 +171,8 @@ BOOL CALLBACK DialogProc(HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM lParam) // Draw the focus rect if needed if (((lpdis->itemState & ODS_FOCUS) && (lpdis->itemAction & ODA_DRAWENTIRE)) || (lpdis->itemAction & ODA_FOCUS)) { + // NB: when not in DRAWENTIRE mode, this will actually toggle the focus + // rectangle since it's drawn in a XOR way if (!hideFocus) DrawFocusRect(lpdis->hDC, &rc); }