diff options
author | George Hazan <george.hazan@gmail.com> | 2014-01-02 11:42:34 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2014-01-02 11:42:34 +0000 |
commit | 517284b80db96b58ea68d7ba974345dc5a2236bb (patch) | |
tree | 4f179d2c825378aefced9008bd06857de1486db6 /protocols/Xfire/src/passworddialog.cpp | |
parent | c0d3c16aab5f5f52ede1f49ffeeafce98e3d073d (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/passworddialog.cpp')
-rw-r--r-- | protocols/Xfire/src/passworddialog.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/protocols/Xfire/src/passworddialog.cpp b/protocols/Xfire/src/passworddialog.cpp index 2754d91e94..3141f82962 100644 --- a/protocols/Xfire/src/passworddialog.cpp +++ b/protocols/Xfire/src/passworddialog.cpp @@ -14,7 +14,7 @@ INT_PTR CALLBACK DlgPWProc(HWND hwndDlg, UINT msg, WPARAM wParam, LPARAM lParam) case WM_CLOSE:
{
GetDlgItemTextA(hwndDlg,IDC_PWSTRING,(LPSTR)pw,254);
- if(usenick)
+ if (usenick)
GetDlgItemTextA(hwndDlg,IDC_PWNICK,(LPSTR)nick,254);
EndDialog(hwndDlg,(INT_PTR)pw);
break;
@@ -26,14 +26,14 @@ INT_PTR CALLBACK DlgPWProc(HWND hwndDlg, UINT msg, WPARAM wParam, LPARAM lParam) pw[0]=0;
nick[0]=0;
SendMessage(hwndDlg,WM_SETICON, (WPARAM)false, (LPARAM)LoadIcon(hinstance, MAKEINTRESOURCE(IDI_TM)));
- if(!usenick)
+ if (!usenick)
EnableWindow(GetDlgItem(hwndDlg,IDC_PWNICK),FALSE);
return TRUE;
}
case WM_COMMAND:
{
- if(LOWORD(wParam) == IDC_BTN4) {
+ if (LOWORD(wParam) == IDC_BTN4) {
SendMessage(hwndDlg,WM_CLOSE,0,0);
}
break;
@@ -43,7 +43,7 @@ INT_PTR CALLBACK DlgPWProc(HWND hwndDlg, UINT msg, WPARAM wParam, LPARAM lParam) }
void ShowPasswordDialog(char*pw,char*mynick) {
- if(mynick!=NULL)
+ if (mynick!=NULL)
{
usenick=TRUE;
}
@@ -52,7 +52,7 @@ void ShowPasswordDialog(char*pw,char*mynick) { char* npw = (char*)DialogBox(hinstance,MAKEINTRESOURCE(IDD_PWDLG),NULL,DlgPWProc);
strcpy(pw,npw);
- if(mynick)
+ if (mynick)
{
strcpy(mynick,(char*)nick);
}
|