summaryrefslogtreecommitdiff
path: root/protocols/Tox
diff options
context:
space:
mode:
Diffstat (limited to 'protocols/Tox')
-rw-r--r--protocols/Tox/src/tox_options.cpp3
-rw-r--r--protocols/Tox/src/version.h2
2 files changed, 2 insertions, 3 deletions
diff --git a/protocols/Tox/src/tox_options.cpp b/protocols/Tox/src/tox_options.cpp
index 5e5e37492f..d57f42ebdd 100644
--- a/protocols/Tox/src/tox_options.cpp
+++ b/protocols/Tox/src/tox_options.cpp
@@ -127,8 +127,7 @@ void CToxOptionsMain::ProfileImport_OnClick(CCtrlButton*)
if (mir_wstrcmpi(profilePath, defaultProfilePath) != 0)
CopyFile(profilePath, defaultProfilePath, FALSE);
- Tox_Options *options = NULL;
- tox_options_default(options);
+ Tox_Options *options = tox_options_new(NULL);
if (m_proto->LoadToxProfile(options))
{
CToxThread toxThread(options);
diff --git a/protocols/Tox/src/version.h b/protocols/Tox/src/version.h
index 3fd62a1c86..549ff228cd 100644
--- a/protocols/Tox/src/version.h
+++ b/protocols/Tox/src/version.h
@@ -11,4 +11,4 @@
#define __AUTHOR "Miranda NG Team"
#define __AUTHOREMAIL ""
#define __AUTHORWEB "http://miranda-ng.org/p/Tox/"
-#define __COPYRIGHT "� 2014-17 Miranda NG Team"
+#define __COPYRIGHT "© 2014-17 Miranda NG Team"