diff options
author | Tobias Weimer <wishmaster51@googlemail.com> | 2014-11-12 20:32:53 +0000 |
---|---|---|
committer | Tobias Weimer <wishmaster51@googlemail.com> | 2014-11-12 20:32:53 +0000 |
commit | cb511b2098ad3eca2fe0771a205e40f72a6bd14d (patch) | |
tree | 5080bf46a2e1fc8a4f7accf3dec626db16552b32 /plugins/Watrack_MPD/src/init.cpp | |
parent | 8fa41b072209a5a30d206a5d2143fe6be4bff3b8 (diff) |
WATrack_MPD:
-Fixed memory allocation
-Minor cleanup
git-svn-id: http://svn.miranda-ng.org/main/trunk@10973 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/Watrack_MPD/src/init.cpp')
-rwxr-xr-x | plugins/Watrack_MPD/src/init.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/Watrack_MPD/src/init.cpp b/plugins/Watrack_MPD/src/init.cpp index 9b33425cb7..3a1b47de37 100755 --- a/plugins/Watrack_MPD/src/init.cpp +++ b/plugins/Watrack_MPD/src/init.cpp @@ -57,7 +57,7 @@ void InitVars() gbPassword = UniGetContactSettingUtf(NULL, szModuleName, "Password", _T(""));
}
-static int OnModulesLoaded(WPARAM wParam, LPARAM lParam)
+static int OnModulesLoaded(WPARAM, LPARAM)
{
NETLIBUSER nlu = {0};
nlu.cbSize = sizeof(nlu);
@@ -66,7 +66,7 @@ static int OnModulesLoaded(WPARAM wParam, LPARAM lParam) nlu.szSettingsModule = __PLUGIN_NAME;
ghNetlibUser = (HANDLE)CallService(MS_NETLIB_REGISTERUSER, 0, (LPARAM)&nlu);
InitVars();
- if (ServiceExists("WATrack/Player"))
+ if (ServiceExists(MS_WAT_PLAYER))
bWatrackService = TRUE;
RegisterPlayer();
|