summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--protocols/Tox/src/tox_svc.cpp10
1 files changed, 0 insertions, 10 deletions
diff --git a/protocols/Tox/src/tox_svc.cpp b/protocols/Tox/src/tox_svc.cpp
deleted file mode 100644
index 83ea092f36..0000000000
--- a/protocols/Tox/src/tox_svc.cpp
+++ /dev/null
@@ -1,10 +0,0 @@
-#include "common.h"
-
-INT_PTR __cdecl CToxProto::SetMyNickname(WPARAM wParam, LPARAM lParam)
-{
- TCHAR *nickname = (wParam & SMNN_UNICODE) ? mir_u2t((WCHAR*)lParam) : mir_a2t((char*)lParam);
-
- setTString("Nick", nickname);
- tox_set_name(tox, (uint8_t*)(char*)_T2A(nickname), mir_tstrlen(nickname));
- return 0;
-}