diff options
-rw-r--r-- | plugins/CloudFile/src/events.cpp | 1 | ||||
-rw-r--r-- | plugins/CloudFile/src/main.cpp | 4 |
2 files changed, 3 insertions, 2 deletions
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(); |