summaryrefslogtreecommitdiff
path: root/protocols/Twitter/src
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2017-01-31 19:01:52 +0300
committerGeorge Hazan <ghazan@miranda.im>2017-01-31 19:01:52 +0300
commit2600097dcc6e357d4d8df6105e9afb66b6d4b296 (patch)
treefe6a1f8a777531ef1a28d373301dacdfc4854544 /protocols/Twitter/src
parent5f9ab0cf3c13bd2a0cae62bd9c5427ad302ac540 (diff)
- NUF_HTTPGATEWAY: unused option removed;
- NETLIBUSER::szDescriptiveName replaced with MAllStrings; - code cleaning.
Diffstat (limited to 'protocols/Twitter/src')
-rw-r--r--protocols/Twitter/src/proto.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/protocols/Twitter/src/proto.cpp b/protocols/Twitter/src/proto.cpp
index 8160e13e14..19bc5452e7 100644
--- a/protocols/Twitter/src/proto.cpp
+++ b/protocols/Twitter/src/proto.cpp
@@ -306,7 +306,7 @@ int TwitterProto::OnModulesLoaded(WPARAM, LPARAM)
// Create standard network connection
mir_snwprintf(descr, TranslateT("%s server connection"), m_tszUserName);
- nlu.ptszDescriptiveName = descr;
+ nlu.szDescriptiveName.w = descr;
m_hNetlibUser = Netlib_RegisterUser(&nlu);
if (m_hNetlibUser == NULL) {
wchar_t error[200];
@@ -319,7 +319,7 @@ int TwitterProto::OnModulesLoaded(WPARAM, LPARAM)
mir_snprintf(module, "%sAv", m_szModuleName);
nlu.szSettingsModule = module;
mir_snwprintf(descr, TranslateT("%s avatar connection"), m_tszUserName);
- nlu.ptszDescriptiveName = descr;
+ nlu.szDescriptiveName.w = descr;
hAvatarNetlib_ = Netlib_RegisterUser(&nlu);
if (hAvatarNetlib_ == NULL) {
wchar_t error[200];