summaryrefslogtreecommitdiff
path: root/protocols/JabberG/src/jabber_bookmarks.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2013-07-20 11:11:48 +0000
committerGeorge Hazan <george.hazan@gmail.com>2013-07-20 11:11:48 +0000
commit874cdbe42cfe376f0e72fd5fe6bad0d2f75f4ee3 (patch)
treecd6167452b51f8ac80b3a36ffb36c1e08f3c9ada /protocols/JabberG/src/jabber_bookmarks.cpp
parent2fe00cdd66d4559cc43a5f27c19ddc79a43676eb (diff)
code cleanup
git-svn-id: http://svn.miranda-ng.org/main/trunk@5427 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/JabberG/src/jabber_bookmarks.cpp')
-rw-r--r--protocols/JabberG/src/jabber_bookmarks.cpp34
1 files changed, 17 insertions, 17 deletions
diff --git a/protocols/JabberG/src/jabber_bookmarks.cpp b/protocols/JabberG/src/jabber_bookmarks.cpp
index 6fae8422bc..2f7045cc6e 100644
--- a/protocols/JabberG/src/jabber_bookmarks.cpp
+++ b/protocols/JabberG/src/jabber_bookmarks.cpp
@@ -27,7 +27,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
// Bookmarks editor window
struct JabberAddBookmarkDlgParam {
- CJabberProto* ppro;
+ CJabberProto *ppro;
JABBER_LIST_ITEM* m_item;
};
@@ -83,21 +83,21 @@ static INT_PTR CALLBACK JabberAddBookmarkDlgProc(HWND hwndDlg, UINT msg, WPARAM
case WM_COMMAND:
switch (HIWORD(wParam)) {
- case BN_CLICKED:
- switch (LOWORD (wParam)) {
- case IDC_ROOM_RADIO:
- EnableWindow(GetDlgItem(hwndDlg, IDC_NICK), TRUE);
- EnableWindow(GetDlgItem(hwndDlg, IDC_PASSWORD), TRUE);
- EnableWindow(GetDlgItem(hwndDlg, IDC_CHECK_BM_AUTOJOIN), TRUE);
- break;
- case IDC_AGENT_RADIO:
- case IDC_URL_RADIO:
- EnableWindow(GetDlgItem(hwndDlg, IDC_NICK), FALSE);
- EnableWindow(GetDlgItem(hwndDlg, IDC_PASSWORD), FALSE);
- SendDlgItemMessage(hwndDlg, IDC_CHECK_BM_AUTOJOIN, BM_SETCHECK, BST_UNCHECKED, 0);
- EnableWindow(GetDlgItem(hwndDlg, IDC_CHECK_BM_AUTOJOIN), FALSE);
- break;
- }
+ case BN_CLICKED:
+ switch (LOWORD (wParam)) {
+ case IDC_ROOM_RADIO:
+ EnableWindow(GetDlgItem(hwndDlg, IDC_NICK), TRUE);
+ EnableWindow(GetDlgItem(hwndDlg, IDC_PASSWORD), TRUE);
+ EnableWindow(GetDlgItem(hwndDlg, IDC_CHECK_BM_AUTOJOIN), TRUE);
+ break;
+ case IDC_AGENT_RADIO:
+ case IDC_URL_RADIO:
+ EnableWindow(GetDlgItem(hwndDlg, IDC_NICK), FALSE);
+ EnableWindow(GetDlgItem(hwndDlg, IDC_PASSWORD), FALSE);
+ SendDlgItemMessage(hwndDlg, IDC_CHECK_BM_AUTOJOIN, BM_SETCHECK, BST_UNCHECKED, 0);
+ EnableWindow(GetDlgItem(hwndDlg, IDC_CHECK_BM_AUTOJOIN), FALSE);
+ break;
+ }
}
switch (LOWORD(wParam)) {
@@ -457,7 +457,7 @@ INT_PTR __cdecl CJabberProto::OnMenuHandleBookmarks(WPARAM, LPARAM)
/////////////////////////////////////////////////////////////////////////////////////////
// Launches the Bookmark details window, lParam is JABBER_BOOKMARK_ITEM*
-int CJabberProto::AddEditBookmark(JABBER_LIST_ITEM* item)
+int CJabberProto::AddEditBookmark(JABBER_LIST_ITEM *item)
{
if (m_bJabberOnline) {
JabberAddBookmarkDlgParam param;