diff options
author | George Hazan <george.hazan@gmail.com> | 2012-11-15 21:18:48 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2012-11-15 21:18:48 +0000 |
commit | 7ebaebba8520e457bf374ca245f52332fbb008be (patch) | |
tree | 55cf960e4981d9413befb1bf275a3fd067bf2534 /protocols/JabberG/src/jabber_opttree.cpp | |
parent | 8353de363fc22940685b334cbb38c0378e9c1b71 (diff) |
bye-bye old coding style in Jabber
git-svn-id: http://svn.miranda-ng.org/main/trunk@2322 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/JabberG/src/jabber_opttree.cpp')
-rw-r--r-- | protocols/JabberG/src/jabber_opttree.cpp | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/protocols/JabberG/src/jabber_opttree.cpp b/protocols/JabberG/src/jabber_opttree.cpp index bd43b55a08..3184571b95 100644 --- a/protocols/JabberG/src/jabber_opttree.cpp +++ b/protocols/JabberG/src/jabber_opttree.cpp @@ -1,15 +1,15 @@ /*
Jabber Protocol Plugin for Miranda IM
-Copyright ( C ) 2002-04 Santithorn Bunchua
-Copyright ( C ) 2005-12 George Hazan
-Copyright ( C ) 2007 Maxim Mluhov
-Copyright ( C ) 2007 Victor Pavlychko
+Copyright (C) 2002-04 Santithorn Bunchua
+Copyright (C) 2005-12 George Hazan
+Copyright (C) 2007 Maxim Mluhov
+Copyright (C) 2007 Victor Pavlychko
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version 2
-of the License, or ( at your option ) any later version.
+of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
@@ -64,8 +64,8 @@ BOOL CCtrlTreeOpts::OnNotify(int idCtrl, NMHDR *pnmh) hti.pt.x=(short)LOWORD(GetMessagePos());
hti.pt.y=(short)HIWORD(GetMessagePos());
ScreenToClient(pnmh->hwndFrom,&hti.pt);
- if(HitTest(&hti))
- if(hti.flags&TVHT_ONITEMICON)
+ if (HitTest(&hti))
+ if (hti.flags&TVHT_ONITEMICON)
ProcessItemClick(hti.hItem);
break;
}
@@ -142,9 +142,9 @@ void CCtrlTreeOpts::OnInit() }
hItem = FindNamedItem(hSection, pItemName);
- if (!sectionName || !hItem)
+ if ( !sectionName || !hItem)
{
- if (!hItem)
+ if ( !hItem)
{
TVINSERTSTRUCT tvis = {0};
@@ -174,7 +174,7 @@ void CCtrlTreeOpts::OnInit() }
}
hItem = InsertItem(&tvis);
- if (!sectionName)
+ if ( !sectionName)
m_options[i]->m_hItem = hItem;
}
}
|