From 780cfdc4277addb0acf4785f105a6767960b98ec Mon Sep 17 00:00:00 2001
From: Vadim Dashevskiy <watcherhd@gmail.com>
Date: Sun, 20 Jan 2013 21:52:44 +0000
Subject: - fixed context menu handling (patch from Robyer)

git-svn-id: http://svn.miranda-ng.org/main/trunk@3214 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
---
 src/modules/clist/clc.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'src')

diff --git a/src/modules/clist/clc.cpp b/src/modules/clist/clc.cpp
index d05ee95686..b3af146add 100644
--- a/src/modules/clist/clc.cpp
+++ b/src/modules/clist/clc.cpp
@@ -1231,7 +1231,7 @@ LRESULT CALLBACK fnContactListControlWndProc(HWND hwnd, UINT msg, WPARAM wParam,
 			if (!dat->filterSearch)
 				dat->szQuickSearch[0] = 0;
 
-			POINT pt = { LOWORD(lParam), HIWORD(lParam) };
+			POINT pt = { (short) LOWORD(lParam), (short) HIWORD(lParam) };
 			if (pt.x == -1 && pt.y == -1) {
 				dat->selection = cli.pfnGetRowByIndex(dat, dat->selection, &contact, NULL);
 				if (dat->selection != -1)
-- 
cgit v1.2.3