summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorVadim Dashevskiy <watcherhd@gmail.com>2013-01-20 21:52:44 +0000
committerVadim Dashevskiy <watcherhd@gmail.com>2013-01-20 21:52:44 +0000
commit780cfdc4277addb0acf4785f105a6767960b98ec (patch)
treef1fe6d4edb0ca17d868ac3b8a84fe8e83da140b6 /src
parent0e341116440b3ac6a373a0f9aacce56ea6a8d3e6 (diff)
- fixed context menu handling (patch from Robyer)
git-svn-id: http://svn.miranda-ng.org/main/trunk@3214 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'src')
-rw-r--r--src/modules/clist/clc.cpp2
1 files changed, 1 insertions, 1 deletions
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)