From f732275579a4f029b3d01379112ea9f4d3e1fe1e Mon Sep 17 00:00:00 2001 From: MikalaiR Date: Sun, 24 Jan 2016 13:09:04 +0000 Subject: git-svn-id: http://svn.miranda-ng.org/main/trunk@16166 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/TipperYM/src/tipper.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'plugins/TipperYM') 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); -- cgit v1.2.3