From ec60bf5b0f03bfb4c310957e5eec9c17193c6c15 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Sun, 15 Mar 2020 16:02:06 +0300 Subject: db_get_sm / getStringA / getWStringA / getUStringA/ getMStringA / getMStringW - missing szValue parameter added --- protocols/Tox/src/tox_proto.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'protocols/Tox') diff --git a/protocols/Tox/src/tox_proto.cpp b/protocols/Tox/src/tox_proto.cpp index 728168ff62..62d7e3194a 100644 --- a/protocols/Tox/src/tox_proto.cpp +++ b/protocols/Tox/src/tox_proto.cpp @@ -79,7 +79,7 @@ INT_PTR CToxProto::GetCaps(int type, MCONTACT) MCONTACT CToxProto::AddToList(int flags, PROTOSEARCHRESULT *psr) { - ptrA myAddress(getStringA(NULL, TOX_SETTINGS_ID)); + ptrA myAddress(getStringA(TOX_SETTINGS_ID)); if (strnicmp(psr->id.a, myAddress, TOX_PUBLIC_KEY_SIZE) == 0) { ShowNotification(TranslateT("You cannot add yourself to your contact list"), 0); return NULL; -- cgit v1.2.3