summaryrefslogtreecommitdiff
path: root/plugins/Clist_modern/src/modern_clcidents.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2018-03-10 14:19:03 +0300
committerGeorge Hazan <ghazan@miranda.im>2018-03-10 14:19:03 +0300
commitab48946296156b94919b0ee31d2ac6404a3cc4c2 (patch)
treea3c58f4cb3daeb4ea6d7e5e3bdc81a5fde8a91f5 /plugins/Clist_modern/src/modern_clcidents.cpp
parent97a16a6e09df80ffa3429e23a0174bd8daaa29a1 (diff)
ClistModern: fix for a very old bug when selection jumps to the first line during group's expansion/contraction
Diffstat (limited to 'plugins/Clist_modern/src/modern_clcidents.cpp')
-rw-r--r--plugins/Clist_modern/src/modern_clcidents.cpp9
1 files changed, 0 insertions, 9 deletions
diff --git a/plugins/Clist_modern/src/modern_clcidents.cpp b/plugins/Clist_modern/src/modern_clcidents.cpp
index 3b636275e6..26fbb705c4 100644
--- a/plugins/Clist_modern/src/modern_clcidents.cpp
+++ b/plugins/Clist_modern/src/modern_clcidents.cpp
@@ -24,15 +24,6 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
#include "stdafx.h"
-int GetContactIndex(ClcGroup *group, ClcContact *contact)
-{
- for (int i = 0; i < group->cl.getCount(); i++)
- if (group->cl[i]->hContact == contact->hContact)
- return i;
-
- return -1;
-}
-
int cliGetRowsPriorTo(ClcGroup *group, ClcGroup *subgroup, int contactIndex)
{
int count = 0;