summaryrefslogtreecommitdiff
path: root/protocols/Weather/src
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2022-01-24 18:24:16 +0300
committerGeorge Hazan <ghazan@miranda.im>2022-01-24 18:24:16 +0300
commitece3c2433832d935c0634a72bac1a7b948b04b44 (patch)
treeb93092dd39f076f8b764d596f2f4fe9381d2e530 /protocols/Weather/src
parentdae0eee5cac2a349102d78f71c03686a83866bb7 (diff)
compilation fix
Diffstat (limited to 'protocols/Weather/src')
-rw-r--r--protocols/Weather/src/weather_http.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/protocols/Weather/src/weather_http.cpp b/protocols/Weather/src/weather_http.cpp
index 248f183fdb..a306315011 100644
--- a/protocols/Weather/src/weather_http.cpp
+++ b/protocols/Weather/src/weather_http.cpp
@@ -137,8 +137,8 @@ int InternetDownloadFile(char *szUrl, char *cookie, char *userAgent, wchar_t **s
void NetlibInit(void)
{
NETLIBUSER nlu = {};
- nlu.flags = NUF_OUTGOING | NUF_HTTPCONNS | NUF_NOHTTPSOPTION | NUF_UNICODE;
+ nlu.flags = NUF_OUTGOING | NUF_HTTPCONNS | NUF_NOHTTPSOPTION;
nlu.szSettingsModule = MODULENAME;
- nlu.szDescriptiveName.w = MODULENAME;
+ nlu.szDescriptiveName.a = MODULENAME;
hNetlibUser = Netlib_RegisterUser(&nlu);
}