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/userinfo.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/userinfo.cpp')
-rw-r--r-- | plugins/SeenPlugin/src/userinfo.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/SeenPlugin/src/userinfo.cpp b/plugins/SeenPlugin/src/userinfo.cpp index 2bf3649a02..3bae7a700e 100644 --- a/plugins/SeenPlugin/src/userinfo.cpp +++ b/plugins/SeenPlugin/src/userinfo.cpp @@ -51,7 +51,7 @@ INT_PTR CALLBACK UserinfoDlgProc(HWND hdlg,UINT msg,WPARAM wparam,LPARAM lparam) switch(msg) {
case WM_INITDIALOG:
- MainProc = (WNDPROC)SetWindowLongPtr(GetDlgItem(hdlg,IDC_INFOTEXT),GWLP_WNDPROC,(LONG)EditProc);
+ MainProc = (WNDPROC)SetWindowLongPtr(GetDlgItem(hdlg, IDC_INFOTEXT),GWLP_WNDPROC,(LONG)EditProc);
{
TCHAR *szout;
if ( !DBGetContactSettingTString(NULL, S_MOD, "UserStamp", &dbv)) {
@@ -62,7 +62,7 @@ INT_PTR CALLBACK UserinfoDlgProc(HWND hdlg,UINT msg,WPARAM wparam,LPARAM lparam) SetDlgItemText(hdlg, IDC_INFOTEXT, szout);
if ( !lstrcmp(szout, TranslateT("<unknown>")))
- EnableWindow( GetDlgItem(hdlg,IDC_INFOTEXT), FALSE);
+ EnableWindow( GetDlgItem(hdlg, IDC_INFOTEXT), FALSE);
}
break;
|