summaryrefslogtreecommitdiff
path: root/protocols/Non-IM Contact/src/main.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2019-12-04 16:08:03 +0300
committerGeorge Hazan <ghazan@miranda.im>2019-12-04 16:08:03 +0300
commit3bb16e798cb51d5764aacbefd4edf26f52d8c4f0 (patch)
tree59dbb53fc9496d660ec2ef2846a4eab0f1720b88 /protocols/Non-IM Contact/src/main.cpp
parent3216d8df5cb355f34c82ed10b7e40bab7525b697 (diff)
GetContactProto: useless duplicate function replaced with standard Proto_GetBaseAccountName
Diffstat (limited to 'protocols/Non-IM Contact/src/main.cpp')
-rw-r--r--protocols/Non-IM Contact/src/main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/protocols/Non-IM Contact/src/main.cpp b/protocols/Non-IM Contact/src/main.cpp
index d554ddc249..59402e6ab1 100644
--- a/protocols/Non-IM Contact/src/main.cpp
+++ b/protocols/Non-IM Contact/src/main.cpp
@@ -12,7 +12,7 @@ INT_PTR doubleClick(WPARAM wParam, LPARAM)
{
char program[MAX_PATH], params[MAX_PATH];
INT_PTR shellEXEerror = 0;
- char* proto = GetContactProto(wParam);
+ char* proto = Proto_GetBaseAccountName(wParam);
if (proto && !mir_strcmp(proto, MODNAME)) {
if (GetKeyState(VK_CONTROL) & 0x8000) // ctrl is pressed
editContact(wParam, 0); // for later when i add a second double click setting