summaryrefslogtreecommitdiff
path: root/src/modules/extraicons
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/extraicons')
-rw-r--r--src/modules/extraicons/IcolibExtraIcon.cpp1
-rw-r--r--src/modules/extraicons/options_ei.cpp7
2 files changed, 1 insertions, 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<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;