From 644b5f0e40d8b848e8165e46ae1fbb17e56843c4 Mon Sep 17 00:00:00 2001 From: Nikolay Sivov Date: Sun, 24 May 2009 23:36:11 +0400 Subject: [PATCH] comctl32/hotkey: Remove useless line. --- dlls/comctl32/hotkey.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/dlls/comctl32/hotkey.c b/dlls/comctl32/hotkey.c index 165d95dad7b..a72b48752ec 100644 --- a/dlls/comctl32/hotkey.c +++ b/dlls/comctl32/hotkey.c @@ -239,10 +239,9 @@ HOTKEY_Create (HOTKEY_INFO *infoPtr, const CREATESTRUCTW *lpcs) static LRESULT HOTKEY_Destroy (HOTKEY_INFO *infoPtr) { - HWND hwnd = infoPtr->hwndSelf; /* free hotkey info data */ + SetWindowLongPtrW (infoPtr->hwndSelf, 0, 0); Free (infoPtr); - SetWindowLongPtrW (hwnd, 0, 0); return 0; }