summaryrefslogtreecommitdiff
path: root/plugins/SeenPlugin/userinfo.c
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2012-06-02 20:55:18 +0000
committerGeorge Hazan <george.hazan@gmail.com>2012-06-02 20:55:18 +0000
commit78c0815c4118fe24ab78cce2dc48a6232dcd824a (patch)
tree8512c50df70b8dd80c919e88ade3419207c95956 /plugins/SeenPlugin/userinfo.c
parentce816d83a8c75808e0eb06832592bffefe4a8dc4 (diff)
- code cleaning
git-svn-id: http://svn.miranda-ng.org/main/trunk@270 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/SeenPlugin/userinfo.c')
-rw-r--r--plugins/SeenPlugin/userinfo.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/SeenPlugin/userinfo.c b/plugins/SeenPlugin/userinfo.c
index 02f050ea0f..bf23679ba9 100644
--- a/plugins/SeenPlugin/userinfo.c
+++ b/plugins/SeenPlugin/userinfo.c
@@ -61,7 +61,7 @@ INT_PTR CALLBACK UserinfoDlgProc(HWND hdlg,UINT msg,WPARAM wparam,LPARAM lparam)
MainProc=(WNDPROC)SetWindowLongPtr(GetDlgItem(hdlg,IDC_INFOTEXT),GWLP_WNDPROC,(LONG)EditProc);
szout=strdup(ParseString((!DBGetContactSetting(NULL,S_MOD,"UserStamp",&dbv)?dbv.pszVal:DEFAULT_USERSTAMP),(HANDLE)lparam,0));
SetDlgItemText(hdlg,IDC_INFOTEXT,szout);
- if(!strcmp(szout,Translate("<unknown>")))
+ if (!strcmp(szout,Translate("<unknown>")))
EnableWindow(GetDlgItem(hdlg,IDC_INFOTEXT),FALSE);
free(szout);
DBFreeVariant(&dbv);
@@ -81,7 +81,7 @@ INT_PTR CALLBACK UserinfoDlgProc(HWND hdlg,UINT msg,WPARAM wparam,LPARAM lparam)
int UserinfoInit(WPARAM wparam,LPARAM lparam)
{
char *proto = (char *)CallService(MS_PROTO_GETCONTACTBASEPROTO,lparam,0);
- if (IsWatchedProtocol(proto)){
+ if (IsWatchedProtocol(proto)) {
OPTIONSDIALOGPAGE uip;
ZeroMemory(&uip,sizeof(uip));
uip.cbSize=sizeof(uip);