diff options
Diffstat (limited to 'protocols/Tox/src/tox_accounts.cpp')
-rw-r--r-- | protocols/Tox/src/tox_accounts.cpp | 8 |
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;
|