summaryrefslogtreecommitdiff
path: root/protocols/Tox/src/tox_options.cpp
diff options
context:
space:
mode:
authorAlexander Lantsev <aunsane@gmail.com>2015-09-14 21:29:34 +0000
committerAlexander Lantsev <aunsane@gmail.com>2015-09-14 21:29:34 +0000
commit5eba89621355c33785278d92b88bb4168475d72c (patch)
treeb7d67171ce2669b72e55cfa14e78c97d646ca686 /protocols/Tox/src/tox_options.cpp
parent134439511d180795dc79f25dd617a9dcdce8dd29 (diff)
Tox: fix crash when going offline
git-svn-id: http://svn.miranda-ng.org/main/trunk@15356 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/Tox/src/tox_options.cpp')
-rw-r--r--protocols/Tox/src/tox_options.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/protocols/Tox/src/tox_options.cpp b/protocols/Tox/src/tox_options.cpp
index 9d9cebee7b..1954ecc147 100644
--- a/protocols/Tox/src/tox_options.cpp
+++ b/protocols/Tox/src/tox_options.cpp
@@ -84,7 +84,7 @@ void CToxOptionsMain::ProfileCreate_OnClick(CCtrlButton*)
}
}
- if (m_proto->InitToxCore(&toxThread))
+ if (m_proto->InitToxCore())
{
TCHAR *group = m_group.GetText();
if (mir_tstrlen(group) > 0 && Clist_GroupExists(group))