summaryrefslogtreecommitdiff
path: root/protocols/Tox/src/tox_accounts.cpp
diff options
context:
space:
mode:
authorAlexander Lantsev <aunsane@gmail.com>2015-02-09 17:54:33 +0000
committerAlexander Lantsev <aunsane@gmail.com>2015-02-09 17:54:33 +0000
commitc2c68d35470d448194aecf3cc4bedee5b1487f5a (patch)
tree2ddb75b961059e69b6b4fdc1a706883eebe1027a /protocols/Tox/src/tox_accounts.cpp
parent10c51cd21b16232beb4492f045b6b43ae25edea6 (diff)
Tox:
- enabled profile import dialog - added global lock on file sending - updated tox core git-svn-id: http://svn.miranda-ng.org/main/trunk@12071 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/Tox/src/tox_accounts.cpp')
-rw-r--r--protocols/Tox/src/tox_accounts.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/protocols/Tox/src/tox_accounts.cpp b/protocols/Tox/src/tox_accounts.cpp
index 4c3af7bc18..afcac8e4a6 100644
--- a/protocols/Tox/src/tox_accounts.cpp
+++ b/protocols/Tox/src/tox_accounts.cpp
@@ -7,9 +7,9 @@ int CToxProto::CompareAccounts(const CToxProto *p1, const CToxProto *p2)
return _tcscmp(p1->m_tszUserName, p2->m_tszUserName);
}
-CToxProto* CToxProto::InitAccount(const char* protoName, const wchar_t* userName)
+CToxProto* CToxProto::InitAccount(const char *protoName, const wchar_t *userName)
{
- /*ptrA address(db_get_sa(NULL, protoName, TOX_SETTINGS_ID));
+ ptrA address(db_get_sa(NULL, protoName, TOX_SETTINGS_ID));
if (address == NULL)
{
DialogBoxParam(
@@ -18,13 +18,13 @@ CToxProto* CToxProto::InitAccount(const char* protoName, const wchar_t* userName
GetActiveWindow(),
CToxProto::ToxProfileImportProc,
(LPARAM)userName);
- }*/
+ }
CToxProto *proto = new CToxProto(protoName, userName);
return proto;
}
-int CToxProto::UninitAccount(CToxProto* proto)
+int CToxProto::UninitAccount(CToxProto *proto)
{
accounts.remove(proto);
delete proto;