From d0403ec5011564484b9095995ee80a2ee9ce54b1 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Mon, 12 Aug 2013 14:21:19 +0000 Subject: just an idea... git-svn-id: http://svn.miranda-ng.org/main/trunk@5657 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/TabSRMM/src/chat/chat.h | 2 +- plugins/TabSRMM/src/chat/window.cpp | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/plugins/TabSRMM/src/chat/chat.h b/plugins/TabSRMM/src/chat/chat.h index f64b71728c..ad371a10f0 100644 --- a/plugins/TabSRMM/src/chat/chat.h +++ b/plugins/TabSRMM/src/chat/chat.h @@ -204,8 +204,8 @@ struct SESSION_INFO HANDLE hContact; HWND hwndFilter; time_t LastTime; - TCHAR szSearch[255]; int iSearchItem; + TCHAR szSearch[255]; CMUCHighlight *Highlight; COMMAND_INFO *lpCommands; COMMAND_INFO *lpCurrentCommand; diff --git a/plugins/TabSRMM/src/chat/window.cpp b/plugins/TabSRMM/src/chat/window.cpp index 0998d699a3..a835a40098 100644 --- a/plugins/TabSRMM/src/chat/window.cpp +++ b/plugins/TabSRMM/src/chat/window.cpp @@ -247,7 +247,6 @@ static void Chat_UpdateWindowState(TWindowData *dat, UINT msg) if (si->hwndFilter) { POINT pt; RECT rcFilter; - GetCursorPos(&pt); GetWindowRect(si->hwndFilter, &rcFilter); if (!PtInRect(&rcFilter, pt)) { -- cgit v1.2.3