From 5eba89621355c33785278d92b88bb4168475d72c Mon Sep 17 00:00:00 2001 From: Alexander Lantsev Date: Mon, 14 Sep 2015 21:29:34 +0000 Subject: Tox: fix crash when going offline git-svn-id: http://svn.miranda-ng.org/main/trunk@15356 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- protocols/Tox/src/tox_options.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'protocols/Tox/src/tox_options.cpp') 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)) -- cgit v1.2.3