diff options
author | George Hazan <george.hazan@gmail.com> | 2013-08-02 20:27:29 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2013-08-02 20:27:29 +0000 |
commit | c55fd3e3c7312d6a76bc8037df78c07cc269935f (patch) | |
tree | 968845c439d40d47e9f2537d93a03a69b862c03e /protocols/IcqOscarJ/src/icq_clients.cpp | |
parent | 90515ba54eedc07949206451c243d1e2148a4e43 (diff) |
no need to publish that function at all
git-svn-id: http://svn.miranda-ng.org/main/trunk@5558 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/IcqOscarJ/src/icq_clients.cpp')
-rw-r--r-- | protocols/IcqOscarJ/src/icq_clients.cpp | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/protocols/IcqOscarJ/src/icq_clients.cpp b/protocols/IcqOscarJ/src/icq_clients.cpp index 05275be05f..46b504b3cb 100644 --- a/protocols/IcqOscarJ/src/icq_clients.cpp +++ b/protocols/IcqOscarJ/src/icq_clients.cpp @@ -81,11 +81,6 @@ static char* MirandaVersionToStringEx(char* szStr, int bUnicode, const char* szP return szStr;
}
-char* MirandaVersionToString(char* szStr, int bUnicode, int v, int m)
-{
- return MirandaVersionToStringEx(szStr, bUnicode, "ICQ", v, m);
-}
-
char* MirandaModToString(char* szStr, capstr* capId, int bUnicode, const char* szModName)
{ // decode icqj mod version
char* szClient;
@@ -219,14 +214,14 @@ const char* CIcqProto::detectUserClient(HANDLE hContact, int nIsICQ, WORD wUserC }
else {
// Yes this is most probably Miranda, get the version info
- szClient = MirandaVersionToString(szClientBuf, 0, dwFT2, 0);
+ szClient = MirandaVersionToStringEx(szClientBuf, 0, "ICQ", dwFT2, 0);
*bClientId = CLID_MIRANDA;
bMirandaIM = TRUE;
}
}
else if (dwFT1 == 0x7fffffff) {
// This is Miranda with unicode core
- szClient = MirandaVersionToString(szClientBuf, 1, dwFT2, 0);
+ szClient = MirandaVersionToStringEx(szClientBuf, 1, "ICQ", dwFT2, 0);
*bClientId = CLID_MIRANDA;
bMirandaIM = TRUE;
}
@@ -316,7 +311,7 @@ const char* CIcqProto::detectUserClient(HANDLE hContact, int nIsICQ, WORD wUserC DWORD iver = (*capId)[0xC] << 0x18 | (*capId)[0xD] << 0x10 | (*capId)[0xE] << 8 | (*capId)[0xF];
DWORD mver = (*capId)[0x8] << 0x18 | (*capId)[0x9] << 0x10 | (*capId)[0xA] << 8 | (*capId)[0xB];
- szClient = MirandaVersionToString(szClientBuf, dwFT1 == 0x7fffffff, iver, mver);
+ szClient = MirandaVersionToStringEx(szClientBuf, dwFT1 == 0x7fffffff, "ICQ", iver, mver);
if (MatchCapability(caps, wLen, &capIcqJs7, 0x4)) {
// detect mod
|