summaryrefslogtreecommitdiff
path: root/include/m_hotkeys.h
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2014-02-24 12:47:23 +0000
committerGeorge Hazan <george.hazan@gmail.com>2014-02-24 12:47:23 +0000
commit04ea225a48f0fe836361882cb0f78e7b99ee582f (patch)
tree10c284c74489c884cb5888fa32259bde6b5c413a /include/m_hotkeys.h
parent9c8e399b431a9b0995efd24752a47efbe6e84ade (diff)
more useless conversions removed
git-svn-id: http://svn.miranda-ng.org/main/trunk@8254 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'include/m_hotkeys.h')
-rw-r--r--include/m_hotkeys.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/m_hotkeys.h b/include/m_hotkeys.h
index effe9df65b..63843b47bd 100644
--- a/include/m_hotkeys.h
+++ b/include/m_hotkeys.h
@@ -62,7 +62,7 @@ extern int hLangpack;
/* CoreHotkeys/Register service
Registers new hotkey
- wParam = (WPARAM)0
+ wParam = 0
lParam = (LPARAM)(HOTKEYDESC *)hotkey
Returns 0 on failure or hotkey atom id on success
*/
@@ -74,7 +74,7 @@ __forceinline INT_PTR Hotkey_Register(HOTKEYDESC *hk)
/* CoreHotkeys/Unregister service
Unregister existing hotkey
- wParam = (WPARAM)0
+ wParam = 0
lParam = (LPARAM)(char *)pszName
Returns 0 on success or nonzero otherwise
*/
@@ -90,7 +90,7 @@ Returns lParam associated with activated hotkey
/* Subclass/unsubclass edit box to act as hotkey control
wParam = (WPARAM)(HWND)hwndEdit
- lParam = (LPARAM)0
+ lParam = 0
Returns zero on success
You will get notification with LOWORD(wParam) == 0 when users sets hotkey.