summaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
Diffstat (limited to 'plugins')
-rw-r--r--plugins/PluginUpdater/src/Common.h7
-rw-r--r--plugins/PluginUpdater/src/DlgUpdate.cpp1
2 files changed, 5 insertions, 3 deletions
diff --git a/plugins/PluginUpdater/src/Common.h b/plugins/PluginUpdater/src/Common.h
index c4a58e8a36..adf83efe37 100644
--- a/plugins/PluginUpdater/src/Common.h
+++ b/plugins/PluginUpdater/src/Common.h
@@ -39,6 +39,7 @@ Boston, MA 02111-1307, USA.
#include <m_hotkeys.h>
#include <m_netlib.h>
#include <m_icolib.h>
+#include <m_skin.h>
#include <win2k.h>
#include "m_pluginupdater.h"
@@ -201,9 +202,9 @@ void __stdcall OpenPluginOptions(void*);
BOOL AllowUpdateOnStartup();
void InitTimer(int type = 0);
-INT_PTR MenuCommand(WPARAM wParam,LPARAM lParam);
-INT_PTR ShowListCommand(WPARAM wParam,LPARAM lParam);
-INT_PTR EmptyFolder(WPARAM wParam,LPARAM lParam);
+INT_PTR MenuCommand(WPARAM,LPARAM);
+INT_PTR ShowListCommand(WPARAM,LPARAM);
+INT_PTR EmptyFolder(WPARAM,LPARAM);
INT_PTR CALLBACK DlgMsgPop(HWND hDlg, UINT uMsg, WPARAM wParam, LPARAM lParam);
diff --git a/plugins/PluginUpdater/src/DlgUpdate.cpp b/plugins/PluginUpdater/src/DlgUpdate.cpp
index 1d5351f519..a7e0995b14 100644
--- a/plugins/PluginUpdater/src/DlgUpdate.cpp
+++ b/plugins/PluginUpdater/src/DlgUpdate.cpp
@@ -378,6 +378,7 @@ static void DlgUpdateSilent(void *lParam)
// interrupt update as we require all components to be updated
Netlib_CloseHandle(nlc);
SkinPlaySound("updatefailed");
+ delete &UpdateFiles;
return;
}
count++;