summaryrefslogtreecommitdiff
path: root/protocols/Steam/src/steam_contacts.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'protocols/Steam/src/steam_contacts.cpp')
-rw-r--r--protocols/Steam/src/steam_contacts.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/protocols/Steam/src/steam_contacts.cpp b/protocols/Steam/src/steam_contacts.cpp
index 655c0814f2..85537b886a 100644
--- a/protocols/Steam/src/steam_contacts.cpp
+++ b/protocols/Steam/src/steam_contacts.cpp
@@ -716,10 +716,10 @@ void CSteamProto::OnSearchByIdEnded(const NETLIBHTTPREQUEST *response, void *arg
ssr.hdr.cbSize = sizeof(STEAM_SEARCH_RESULT);
ssr.hdr.flags = PSR_TCHAR;
- ssr.hdr.id = (TCHAR*)arg;
+ ssr.hdr.id.t = (TCHAR*)arg;
node = json_get(nroot, "personaname");
- ssr.hdr.nick = mir_wstrdup(ptrT(json_as_string(node)));
+ ssr.hdr.nick.t = mir_wstrdup(ptrT(json_as_string(node)));
node = json_get(nroot, "realname");
if (node != NULL)
@@ -730,11 +730,11 @@ void CSteamProto::OnSearchByIdEnded(const NETLIBHTTPREQUEST *response, void *arg
size_t pos = realname.find(' ', 1);
if (pos != std::string::npos)
{
- ssr.hdr.firstName = mir_wstrdup(realname.substr(0, pos).c_str());
- ssr.hdr.lastName = mir_wstrdup(realname.substr(pos + 1).c_str());
+ ssr.hdr.firstName.t = mir_wstrdup(realname.substr(0, pos).c_str());
+ ssr.hdr.lastName.t = mir_wstrdup(realname.substr(pos + 1).c_str());
}
else
- ssr.hdr.firstName = mir_wstrdup(realname.c_str());
+ ssr.hdr.firstName.t = mir_wstrdup(realname.c_str());
}
}