diff options
author | George Hazan <george.hazan@gmail.com> | 2016-09-01 12:48:54 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2016-09-01 12:48:54 +0000 |
commit | 11ab7716e9d48c7505fbcf4fe1deba33b494cdc1 (patch) | |
tree | 795bb05caa502ed8e1f4fc7064563e112b077197 /plugins/Clist_nicer/src/clui.cpp | |
parent | ecfe7288fee11443d9a0f48ca38daa2aabf955c5 (diff) |
- MS_CLIST_SETHIDEOFFLINE replaced with pcli->pfnSetHideOffline();
- MS_CLIST_TOGGLEHIDEOFFLINE added to cover the only case with service call;
git-svn-id: http://svn.miranda-ng.org/main/trunk@17237 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/Clist_nicer/src/clui.cpp')
-rw-r--r-- | plugins/Clist_nicer/src/clui.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/Clist_nicer/src/clui.cpp b/plugins/Clist_nicer/src/clui.cpp index a73e090873..f99c10ca7f 100644 --- a/plugins/Clist_nicer/src/clui.cpp +++ b/plugins/Clist_nicer/src/clui.cpp @@ -176,7 +176,7 @@ static HWND PreCreateCLC(HWND parent) static int CreateCLC() { pcli->pfnReloadExtraIcons(); - CallService(MS_CLIST_SETHIDEOFFLINE, (WPARAM)oldhideoffline, 0); + pcli->pfnSetHideOffline(oldhideoffline); disableautoupd = 0; { CLISTFrame frame = { 0 }; @@ -1498,7 +1498,7 @@ buttons_done: case POPUP_HIDEOFFLINE: case IDC_TBHIDEOFFLINE: case IDC_STBHIDEOFFLINE: - CallService(MS_CLIST_SETHIDEOFFLINE, (WPARAM)(-1), 0); + pcli->pfnSetHideOffline(-1); break; case POPUP_HIDEOFFLINEROOT: CallService(MS_CLIST_TOGGLEHIDEOFFLINEROOT, 0, 0); |