diff options
author | George Hazan <george.hazan@gmail.com> | 2013-04-07 16:14:47 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2013-04-07 16:14:47 +0000 |
commit | 7339bc08a765b87b0140e350a05fcf0d22a57722 (patch) | |
tree | d3031f91d458a14cf4e24fe461c8e143c0f18cc9 /plugins/SimpleStatusMsg/src/options.cpp | |
parent | fa23da25513fa2d056413cadb51ae3fadc3b5e5d (diff) |
mir_getCLI() - a helper for MS_CLIST_RETRIEVE_INTERFACE, just call it without parameters
git-svn-id: http://svn.miranda-ng.org/main/trunk@4368 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/SimpleStatusMsg/src/options.cpp')
-rw-r--r-- | plugins/SimpleStatusMsg/src/options.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/plugins/SimpleStatusMsg/src/options.cpp b/plugins/SimpleStatusMsg/src/options.cpp index e803be5784..fcb79b0b37 100644 --- a/plugins/SimpleStatusMsg/src/options.cpp +++ b/plugins/SimpleStatusMsg/src/options.cpp @@ -22,9 +22,7 @@ with this program; if not, write to the Free Software Foundation, Inc., static void RebuildStatusMenu(void)
{
- CLIST_INTERFACE* pcli = (CLIST_INTERFACE*)CallService(MS_CLIST_RETRIEVE_INTERFACE, 0, 0);
- if (pcli && pcli->version > 4)
- pcli->pfnReloadProtoMenus();
+ pcli->pfnReloadProtoMenus();
}
static LRESULT CALLBACK OptEditBoxSubProc(HWND hwndDlg, UINT uMsg, WPARAM wParam, LPARAM lParam)
|