From 99a6afcd6cb8211b6be9c4ce798693aa45dbabfb Mon Sep 17 00:00:00 2001 From: Dmitry Timoshkov Date: Mon, 1 Nov 2004 21:07:43 +0000 Subject: [PATCH] Do not retrieve infoPtr twice in ToolbarWindowProc entry. --- dlls/comctl32/toolbar.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dlls/comctl32/toolbar.c b/dlls/comctl32/toolbar.c index ab69d4906f7..84cdb1e6102 100644 --- a/dlls/comctl32/toolbar.c +++ b/dlls/comctl32/toolbar.c @@ -6625,7 +6625,7 @@ ToolbarWindowProc (HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM lParam) TRACE("hwnd=%p msg=%x wparam=%x lparam=%lx\n", hwnd, uMsg, /* SPY_GetMsgName(uMsg), */ wParam, lParam); - if (!TOOLBAR_GetInfoPtr(hwnd) && (uMsg != WM_NCCREATE)) + if (!infoPtr && (uMsg != WM_NCCREATE)) return DefWindowProcW( hwnd, uMsg, wParam, lParam ); switch (uMsg) -- 2.11.4.GIT