summaryrefslogtreecommitdiff
path: root/plugins/TabSRMM
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2013-08-12 14:21:19 +0000
committerGeorge Hazan <george.hazan@gmail.com>2013-08-12 14:21:19 +0000
commitd0403ec5011564484b9095995ee80a2ee9ce54b1 (patch)
tree3d71048c7ae78cd93dbea26cfc2cb06edb02813b /plugins/TabSRMM
parentfed865e2a3f6a91d9688ed00ccc21be9b1924543 (diff)
just an idea...
git-svn-id: http://svn.miranda-ng.org/main/trunk@5657 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/TabSRMM')
-rw-r--r--plugins/TabSRMM/src/chat/chat.h2
-rw-r--r--plugins/TabSRMM/src/chat/window.cpp1
2 files changed, 1 insertions, 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)) {