Module: wine Branch: master Commit: 644b5f0e40d8b848e8165e46ae1fbb17e56843c4 URL: http://source.winehq.org/git/wine.git/?a=commit;h=644b5f0e40d8b848e8165e46ae...
Author: Nikolay Sivov bunglehead@gmail.com Date: Sun May 24 23:36:11 2009 +0400
comctl32/hotkey: Remove useless line.
---
dlls/comctl32/hotkey.c | 3 +-- 1 files changed, 1 insertions(+), 2 deletions(-)
diff --git a/dlls/comctl32/hotkey.c b/dlls/comctl32/hotkey.c index 165d95d..a72b487 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; }