From 16a772982aae83d22f22d3561d705deb55728c2a Mon Sep 17 00:00:00 2001 From: Kirill Volinsky Date: Fri, 16 Nov 2012 09:05:56 +0000 Subject: tabs and spaces cleaning git-svn-id: http://svn.miranda-ng.org/main/trunk@2327 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- src/modules/extraicons/IcolibExtraIcon.cpp | 1 - src/modules/extraicons/options_ei.cpp | 7 +------ 2 files changed, 1 insertion(+), 7 deletions(-) diff --git a/src/modules/extraicons/IcolibExtraIcon.cpp b/src/modules/extraicons/IcolibExtraIcon.cpp index 8ea4f51512..bfc273fd0b 100644 --- a/src/modules/extraicons/IcolibExtraIcon.cpp +++ b/src/modules/extraicons/IcolibExtraIcon.cpp @@ -114,4 +114,3 @@ void IcolibExtraIcon::storeIcon(HANDLE hContact, void *icon) DBWriteContactSettingString(hContact, MODULE_NAME, name.c_str(), icolibName); } - 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 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; -- cgit v1.2.3