summaryrefslogtreecommitdiff
path: root/plugins/CmdLine/src/utils.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2012-11-25 12:54:45 +0000
committerGeorge Hazan <george.hazan@gmail.com>2012-11-25 12:54:45 +0000
commitbd8a04455d9c991c15df2287e091abe4ba054efb (patch)
tree6af5485d60feef741669eb545a6378e7c209ab59 /plugins/CmdLine/src/utils.cpp
parent7fdce14cd488e25e8e32e34098fbe9f5cb3021b7 (diff)
typed stub for MS_PROTO_GETCONTACTBASEPROTO
git-svn-id: http://svn.miranda-ng.org/main/trunk@2480 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/CmdLine/src/utils.cpp')
-rw-r--r--plugins/CmdLine/src/utils.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/plugins/CmdLine/src/utils.cpp b/plugins/CmdLine/src/utils.cpp
index 70e86085cc..f85fb74e43 100644
--- a/plugins/CmdLine/src/utils.cpp
+++ b/plugins/CmdLine/src/utils.cpp
@@ -224,7 +224,7 @@ TCHAR *GetContactName(HANDLE hContact, char *szProto)
ctInfo.szProto = szProto;
}
else{
- GetContactProtocol(hContact, proto, sizeof(proto));
+ GetContactProto(hContact, proto, sizeof(proto));
ctInfo.szProto = proto;
}
ctInfo.dwFlag = CNF_DISPLAY;
@@ -253,7 +253,7 @@ TCHAR *GetContactName(HANDLE hContact, char *szProto)
#pragma warning (default: 4312)
#pragma warning (disable: 4312)
-void GetContactProtocol(HANDLE hContact, char *szProto, size_t size)
+void GetContactProto(HANDLE hContact, char *szProto, size_t size)
{
GetStringFromDatabase(hContact, "Protocol", "p", NULL, szProto, size);
}
@@ -263,7 +263,7 @@ void GetContactProtocol(HANDLE hContact, char *szProto, size_t size)
TCHAR *GetContactID(HANDLE hContact)
{
char protocol[256];
- GetContactProtocol(hContact, protocol, sizeof(protocol));
+ GetContactProto(hContact, protocol, sizeof(protocol));
return GetContactID(hContact, protocol);
}
@@ -346,7 +346,7 @@ HANDLE GetContactFromID(TCHAR *szID, char *szProto)
int found = 0;
while (hContact)
{
- GetContactProtocol(hContact, cProtocol, sizeof(cProtocol));
+ GetContactProto(hContact, cProtocol, sizeof(cProtocol));
szHandle = GetContactID(hContact, cProtocol);
tmp = (char *) CallService(MS_CLIST_GETCONTACTDISPLAYNAME, (WPARAM) hContact, 0);