diff options
Diffstat (limited to 'plugins/TabSRMM/src/chat/window.cpp')
| -rw-r--r-- | plugins/TabSRMM/src/chat/window.cpp | 4 | 
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/TabSRMM/src/chat/window.cpp b/plugins/TabSRMM/src/chat/window.cpp index b65c6b9c76..917c3266c3 100644 --- a/plugins/TabSRMM/src/chat/window.cpp +++ b/plugins/TabSRMM/src/chat/window.cpp @@ -1527,8 +1527,8 @@ static LRESULT CALLBACK NicklistSubclassProc(HWND hwnd, UINT msg, WPARAM wParam,  			SESSION_INFO *parentdat = dat->si;  			int height = 0; -			hti.pt.x = (short)LOWORD(lParam); -			hti.pt.y = (short)HIWORD(lParam); +			hti.pt.x = GET_X_LPARAM(lParam); +			hti.pt.y = GET_Y_LPARAM(lParam);  			if (hti.pt.x == -1 && hti.pt.y == -1) {  				int index = SendMessage(hwnd, LB_GETCURSEL, 0, 0);  				int top = SendMessage(hwnd, LB_GETTOPINDEX, 0, 0);  | 
