diff options
author | MikalaiR <nikolay.romanovich@narod.ru> | 2016-01-24 13:09:04 +0000 |
---|---|---|
committer | MikalaiR <nikolay.romanovich@narod.ru> | 2016-01-24 13:09:04 +0000 |
commit | f732275579a4f029b3d01379112ea9f4d3e1fe1e (patch) | |
tree | fb5b81033de7f8cc5cfc76b85735b602b8fa2942 /plugins/TipperYM/src | |
parent | d9d9c0959bc0f6e45282076aa10cda595bce8ec1 (diff) |
git-svn-id: http://svn.miranda-ng.org/main/trunk@16166 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/TipperYM/src')
-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);
|