diff options
author | George Hazan <george.hazan@gmail.com> | 2013-01-23 17:26:06 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2013-01-23 17:26:06 +0000 |
commit | ac9cc8dd9bb65882a77b93a35448be62c3f83fef (patch) | |
tree | e64aaadc43c10c416999c103e31e9b479dd0c67d /plugins/SeenPlugin/src/missed.cpp | |
parent | 6ae828fd5f3a53279911da31891f5ccc82a8b975 (diff) |
- GDI resource leak fix;
- various cosmetics
git-svn-id: http://svn.miranda-ng.org/main/trunk@3252 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/SeenPlugin/src/missed.cpp')
-rw-r--r-- | plugins/SeenPlugin/src/missed.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/SeenPlugin/src/missed.cpp b/plugins/SeenPlugin/src/missed.cpp index 62acb570c9..4735fae6d3 100644 --- a/plugins/SeenPlugin/src/missed.cpp +++ b/plugins/SeenPlugin/src/missed.cpp @@ -86,7 +86,7 @@ INT_PTR CALLBACK MissedDlgProc(HWND hdlg,UINT msg,WPARAM wparam,LPARAM lparam) SetWindowPos(htemp,NULL,0,0,rcinit.right-rcinit.left,mcs.count*(rcinit.bottom-rcinit.top)/2,SWP_NOZORDER|SWP_NOMOVE|SWP_NOACTIVATE);
GetWindowRect(htemp, &rcresized);
- htemp = GetDlgItem(hdlg,IDOK);
+ htemp = GetDlgItem(hdlg, IDOK);
GetWindowRect(htemp, &rcb);
pt.x = rcb.left;
pt.y = rcb.top;
@@ -94,7 +94,7 @@ INT_PTR CALLBACK MissedDlgProc(HWND hdlg,UINT msg,WPARAM wparam,LPARAM lparam) ScreenToClient(hdlg, &pt);
MoveWindow(htemp,pt.x,pt.y+(rcresized.bottom-rcinit.bottom),(rcb.right-rcb.left),(rcb.bottom-rcb.top),FALSE);
GetWindowRect(hdlg, &rcd);
- SetWindowPos(hdlg,NULL,0,0,rcd.right-rcd.left,rcd.bottom-rcd.top+(rcresized.bottom-rcinit.bottom),SWP_NOZORDER|SWP_NOMOVE|SWP_NOACTIVATE);
+ SetWindowPos(hdlg, NULL,0,0,rcd.right-rcd.left,rcd.bottom-rcd.top+(rcresized.bottom-rcinit.bottom),SWP_NOZORDER|SWP_NOMOVE|SWP_NOACTIVATE);
SetDlgItemText(hdlg, IDC_CONTACTS, (LPCTSTR)lparam);
ShowWindow(hdlg, SW_SHOWNOACTIVATE);
|