diff options
author | George Hazan <george.hazan@gmail.com> | 2014-02-24 12:47:23 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2014-02-24 12:47:23 +0000 |
commit | 04ea225a48f0fe836361882cb0f78e7b99ee582f (patch) | |
tree | 10c284c74489c884cb5888fa32259bde6b5c413a /include/m_utils.h | |
parent | 9c8e399b431a9b0995efd24752a47efbe6e84ade (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_utils.h')
-rw-r--r-- | include/m_utils.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/m_utils.h b/include/m_utils.h index eeaa419094..b6490a447c 100644 --- a/include/m_utils.h +++ b/include/m_utils.h @@ -180,11 +180,11 @@ __forceinline INT_PTR WindowList_Remove(HANDLE hList, HWND hwnd) { // finds a window given the hContact
// wParam = (WPARAM)(HANDLE)hList
-// lParam = (WPARAM)(HANDLE)hContact
+// lParam = (MCONTACT)hContact
// returns the window handle on success, or NULL on failure
#define MS_UTILS_FINDWINDOWINLIST "Utils/FindWindowInList"
__forceinline HWND WindowList_Find(HANDLE hList, MCONTACT hContact) {
- return (HWND)CallService(MS_UTILS_FINDWINDOWINLIST, (WPARAM)hList, (LPARAM)hContact);
+ return (HWND)CallService(MS_UTILS_FINDWINDOWINLIST, (WPARAM)hList, hContact);
}
// sends a message to all windows in a list using SendMessage
|