Nikolay Sivov : comctl32/hotkey: Remove useless line.
Alexandre Julliard
julliard at winehq.org
Mon May 25 10:06:32 CDT 2009
Module: wine
Branch: master
Commit: 644b5f0e40d8b848e8165e46ae1fbb17e56843c4
URL: http://source.winehq.org/git/wine.git/?a=commit;h=644b5f0e40d8b848e8165e46ae1fbb17e56843c4
Author: Nikolay Sivov <bunglehead at 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;
}
More information about the wine-cvs
mailing list