summaryrefslogtreecommitdiff
path: root/protocols/Xfire/src/pwd_dlg.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2014-01-02 11:42:34 +0000
committerGeorge Hazan <george.hazan@gmail.com>2014-01-02 11:42:34 +0000
commit517284b80db96b58ea68d7ba974345dc5a2236bb (patch)
tree4f179d2c825378aefced9008bd06857de1486db6 /protocols/Xfire/src/pwd_dlg.cpp
parentc0d3c16aab5f5f52ede1f49ffeeafce98e3d073d (diff)
fix for extra icons in XFire
git-svn-id: http://svn.miranda-ng.org/main/trunk@7453 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/Xfire/src/pwd_dlg.cpp')
-rw-r--r--protocols/Xfire/src/pwd_dlg.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/protocols/Xfire/src/pwd_dlg.cpp b/protocols/Xfire/src/pwd_dlg.cpp
index a0bb0d5232..256c30eac7 100644
--- a/protocols/Xfire/src/pwd_dlg.cpp
+++ b/protocols/Xfire/src/pwd_dlg.cpp
@@ -18,13 +18,13 @@ INT_PTR CALLBACK DlgPwProc(HWND hwndDlg, UINT msg, WPARAM wParam, LPARAM lParam)
}
case WM_COMMAND:
{
- if(LOWORD(wParam) == IDOK)
+ if (LOWORD(wParam) == IDOK)
{
GetDlgItemTextA(hwndDlg,IDC_NICKNAME,password,sizeof(password));
EndDialog(hwndDlg,TRUE);
return TRUE;
}
- else if(LOWORD(wParam) == IDCANCEL)
+ else if (LOWORD(wParam) == IDCANCEL)
{
EndDialog(hwndDlg,FALSE);
return FALSE;
@@ -36,13 +36,13 @@ INT_PTR CALLBACK DlgPwProc(HWND hwndDlg, UINT msg, WPARAM wParam, LPARAM lParam)
BOOL ShowPwdDlg(char* pw) {
//kein gültiges ziel für das eingegebene passwort
- if(&pw==NULL)
+ if (&pw==NULL)
return FALSE;
- if(DialogBox(hinstance,MAKEINTRESOURCE(IDD_SETNICKNAME),NULL,DlgPwProc))
+ if (DialogBox(hinstance,MAKEINTRESOURCE(IDD_SETNICKNAME),NULL,DlgPwProc))
{
//passwort kopieren
- if(*password == 0)
+ if (*password == 0)
return FALSE;
strcpy_s(pw,255,password);