From 70e0c09fcffa5520d3cfdc4708c81248b135c796 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Mon, 1 Dec 2014 12:56:22 +0000 Subject: - more warning fixes; - code cleaning git-svn-id: http://svn.miranda-ng.org/main/trunk@11191 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/Popup/src/opttree.cpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'plugins/Popup/src/opttree.cpp') diff --git a/plugins/Popup/src/opttree.cpp b/plugins/Popup/src/opttree.cpp index 515e13256e..dd85cc81d0 100644 --- a/plugins/Popup/src/opttree.cpp +++ b/plugins/Popup/src/opttree.cpp @@ -105,12 +105,12 @@ HTREEITEM OptTree_AddItem(HWND hwndTree, LPTSTR name, LPARAM lParam, int iconInd sectionName = itemName; while (sectionName) { - // allow multi-level tree + // allow multi-level tree TCHAR *pItemName = sectionName; HTREEITEM hItem; if (sectionName = _tcschr(sectionName, '/')) { - // one level deeper + // one level deeper *sectionName = 0; sectionName++; } @@ -121,7 +121,7 @@ HTREEITEM OptTree_AddItem(HWND hwndTree, LPTSTR name, LPARAM lParam, int iconInd TVINSERTSTRUCT tvis = {0}; tvis.hParent = hSection; - tvis.hInsertAfter = TVI_LAST;//TVI_SORT; + tvis.hInsertAfter = TVI_LAST;// TVI_SORT; tvis.item.mask = TVIF_TEXT | TVIF_PARAM | TVIF_STATE; tvis.item.pszText = pItemName; tvis.item.state = tvis.item.stateMask = TVIS_EXPANDED; @@ -180,12 +180,12 @@ BOOL OptTree_ProcessMessage(HWND hwnd, UINT msg, WPARAM wparam, LPARAM lparam, i sectionName = itemName; while (sectionName) { - // allow multi-level tree + // allow multi-level tree TCHAR *pItemName = sectionName; HTREEITEM hItem; if (sectionName = _tcschr(sectionName, '/')) { - // one level deeper + // one level deeper *sectionName = 0; sectionName++; } @@ -196,7 +196,7 @@ BOOL OptTree_ProcessMessage(HWND hwnd, UINT msg, WPARAM wparam, LPARAM lparam, i TVINSERTSTRUCT tvis = {0}; tvis.hParent = hSection; - tvis.hInsertAfter = TVI_LAST;//TVI_SORT; + tvis.hInsertAfter = TVI_LAST;// TVI_SORT; tvis.item.mask = TVIF_TEXT | TVIF_PARAM | TVIF_STATE | TVIF_IMAGE | TVIF_SELECTEDIMAGE; tvis.item.pszText = pItemName; tvis.item.state = tvis.item.stateMask = TVIS_EXPANDED; -- cgit v1.2.3