From 6611ef6791a897d23cb79ab7b56eb48d49452b80 Mon Sep 17 00:00:00 2001 From: aunsane Date: Tue, 12 Sep 2017 21:53:52 +0300 Subject: CloudFile: fix netlib description --- plugins/CloudFile/src/events.cpp | 1 + plugins/CloudFile/src/main.cpp | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) (limited to 'plugins/CloudFile/src') diff --git a/plugins/CloudFile/src/events.cpp b/plugins/CloudFile/src/events.cpp index 33e0419603..6fcfed3445 100644 --- a/plugins/CloudFile/src/events.cpp +++ b/plugins/CloudFile/src/events.cpp @@ -18,6 +18,7 @@ int OnModulesLoaded(WPARAM, LPARAM) HookEvent(ME_MSG_BUTTONPRESSED, OnSrmmButtonPressed); HookTemporaryEvent(ME_MSG_TOOLBARLOADED, OnSrmmToolbarLoaded); + return 0; } diff --git a/plugins/CloudFile/src/main.cpp b/plugins/CloudFile/src/main.cpp index 40a660a490..15f87f8bf3 100644 --- a/plugins/CloudFile/src/main.cpp +++ b/plugins/CloudFile/src/main.cpp @@ -40,9 +40,9 @@ extern "C" int __declspec(dllexport) Load(void) HookEvent(ME_SYSTEM_MODULESLOADED, OnModulesLoaded); NETLIBUSER nlu = {}; - nlu.flags = NUF_INCOMING | NUF_OUTGOING | NUF_HTTPCONNS | NUF_UNICODE; + nlu.flags = NUF_INCOMING | NUF_OUTGOING | NUF_HTTPCONNS; nlu.szSettingsModule = MODULE; - nlu.szDescriptiveName.w = _A2W("MODULE"); + nlu.szDescriptiveName.a = MODULE; hNetlibConnection = Netlib_RegisterUser(&nlu); InitServices(); -- cgit v1.2.3