summaryrefslogtreecommitdiff
path: root/protocols/Skype/src/skype_menus.cpp
diff options
context:
space:
mode:
authorAlexander Lantsev <aunsane@gmail.com>2012-10-03 19:00:16 +0000
committerAlexander Lantsev <aunsane@gmail.com>2012-10-03 19:00:16 +0000
commit2ae2f9c86258ee5dc89d42492c591c19acbfa4b5 (patch)
treea5033ab378b6746258de381189cc2c9a472ce452 /protocols/Skype/src/skype_menus.cpp
parentead582e080416de21ece0b29109efa8bc4c043d9 (diff)
- skype proto instance init funcs moved to skype_instances.cpp
- some minor fixes git-svn-id: http://svn.miranda-ng.org/main/trunk@1776 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/Skype/src/skype_menus.cpp')
-rw-r--r--protocols/Skype/src/skype_menus.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/protocols/Skype/src/skype_menus.cpp b/protocols/Skype/src/skype_menus.cpp
index dd53e6f41d..e0982e8cf3 100644
--- a/protocols/Skype/src/skype_menus.cpp
+++ b/protocols/Skype/src/skype_menus.cpp
@@ -18,9 +18,9 @@ CSkypeProto* CSkypeProto::GetInstanceByHContact(HANDLE hContact)
if (proto == NULL)
return NULL;
- for (int i = 0; i < g_Instances.getCount(); i++)
- if (!strcmp(proto, g_Instances[i]->m_szModuleName))
- return g_Instances[i];
+ for (int i = 0; i < CSkypeProto::instanceList.getCount(); i++)
+ if (!strcmp(proto, CSkypeProto::instanceList[i]->m_szModuleName))
+ return CSkypeProto::instanceList[i];
return NULL;
}