From b303f760e66adcb879cae5024c7c264d2c23f2d3 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Thu, 21 Feb 2013 10:08:23 +0000 Subject: fix for passing valid parameter into ME_SYSTEM_MODULELOAD/ME_SYSTEM_MODULEUNLOAD git-svn-id: http://svn.miranda-ng.org/main/trunk@3660 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/TopToolBar/src/toolbar.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'plugins/TopToolBar') diff --git a/plugins/TopToolBar/src/toolbar.cpp b/plugins/TopToolBar/src/toolbar.cpp index 8a2b29407e..655117fc50 100644 --- a/plugins/TopToolBar/src/toolbar.cpp +++ b/plugins/TopToolBar/src/toolbar.cpp @@ -560,7 +560,7 @@ static INT_PTR TTBSetCustomProc(WPARAM wParam, LPARAM lParam) ///////////////////////////////////////////////////////////////////////////////////////// // Adds buttons of plugins being loaded. lParam = HINSTANCE -int OnPluginLoad(WPARAM wParam, LPARAM lParam) +int OnPluginLoad(WPARAM, LPARAM lParam) { CallPluginEventHook((HINSTANCE)lParam, hTTBModuleLoaded, 0, 0); if (g_ctrl->hWnd && g_ctrl->bOrderChanged) @@ -571,7 +571,7 @@ int OnPluginLoad(WPARAM wParam, LPARAM lParam) ///////////////////////////////////////////////////////////////////////////////////////// // Removes buttons of plugins being unloaded. lParam = HINSTANCE -int OnPluginUnload(WPARAM wParam, LPARAM lParam) +int OnPluginUnload(WPARAM, LPARAM lParam) { int hLangpack = CallService(MS_LANGPACK_LOOKUPHANDLE, 0, lParam); if (hLangpack) { -- cgit v1.2.3