diff options
author | Kirill Volinsky <mataes2007@gmail.com> | 2012-11-16 09:05:56 +0000 |
---|---|---|
committer | Kirill Volinsky <mataes2007@gmail.com> | 2012-11-16 09:05:56 +0000 |
commit | 16a772982aae83d22f22d3561d705deb55728c2a (patch) | |
tree | 2efcdb0e08cfc2c538cec0951023df9385f069ff /src/modules/extraicons/options_ei.cpp | |
parent | f907a78441c0540ba16a1bda82c883bb1eca237a (diff) |
tabs and spaces cleaning
git-svn-id: http://svn.miranda-ng.org/main/trunk@2327 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'src/modules/extraicons/options_ei.cpp')
-rw-r--r-- | src/modules/extraicons/options_ei.cpp | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/src/modules/extraicons/options_ei.cpp b/src/modules/extraicons/options_ei.cpp index 36e05d4179..b04ec3fec3 100644 --- a/src/modules/extraicons/options_ei.cpp +++ b/src/modules/extraicons/options_ei.cpp @@ -195,7 +195,6 @@ LRESULT CALLBACK TreeProc(HWND hwndDlg, UINT msg, WPARAM wParam, LPARAM lParam) vector<HTREEITEM> selected;
Tree_GetSelected(hwndDlg, selected);
-
// Check if have to deselect it
for (unsigned int i = 0; i < selected.size(); i++) {
if (selected[i] == hti.hItem) {
@@ -302,9 +301,7 @@ static void GroupSelectedItems(HWND tree) bool selected = false;
HTREEITEM hPlace = NULL;
-
// Find items
-
HTREEITEM hItem = TreeView_GetRoot(tree);
TVITEM tvi = { 0 };
tvi.mask = TVIF_HANDLE | TVIF_PARAM | TVIF_TEXT | TVIF_STATE;
@@ -336,7 +333,6 @@ static void GroupSelectedItems(HWND tree) ii = ids.at(1);
HTREEITEM hNew = Tree_AddExtraIconGroup(tree, ids, selected, hPlace);
-
// Remove old
for (unsigned int i = 0; i < toRemove.size(); i++) {
delete Tree_GetIDs(tree, toRemove[i]);
@@ -380,7 +376,7 @@ static int ShowPopup(HWND hwndDlg, int popup) while (hItem) {
if (hItem != hSelected && IsSelected(tree, hItem))
Tree_DropHilite(tree, hItem);
-
+
hItem = TreeView_GetNextSibling(tree, hItem);
}
// InvalidateRect(tree, NULL, FALSE);
@@ -492,7 +488,6 @@ static INT_PTR CALLBACK OptionsDlgProc(HWND hwndDlg, UINT msg, WPARAM wParam, LP HWND tree = GetDlgItem(hwndDlg, IDC_EXTRAORDER);
-
// Store old slots
int *oldSlots = new int[registeredExtraIcons.size()];
int lastUsedSlot = -1;
|