diff options
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/TipperYM/src/tipper.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/plugins/TipperYM/src/tipper.cpp b/plugins/TipperYM/src/tipper.cpp index d2629155b9..b660fb298a 100644 --- a/plugins/TipperYM/src/tipper.cpp +++ b/plugins/TipperYM/src/tipper.cpp @@ -293,9 +293,10 @@ int Shutdown(WPARAM, LPARAM) HANDLE hEventPreShutdown, hEventModulesLoaded;
-static INT_PTR ReloadSkin(WPARAM, LPARAM lParam)
+static INT_PTR ReloadSkin(WPARAM wParam, LPARAM lParam)
{
- opt.skinMode = SM_IMAGE;
+ LoadOptions();
+ opt.skinMode = (SkinMode)wParam;
if (lParam != 0)
_tcscpy_s(opt.szSkinName, _A2T((char*)(lParam)));
ParseSkinFile(opt.szSkinName, false, false);
|