summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2013-04-07 16:14:47 +0000
committerGeorge Hazan <george.hazan@gmail.com>2013-04-07 16:14:47 +0000
commit7339bc08a765b87b0140e350a05fcf0d22a57722 (patch)
treed3031f91d458a14cf4e24fe461c8e143c0f18cc9 /include
parentfa23da25513fa2d056413cadb51ae3fadc3b5e5d (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 'include')
-rw-r--r--include/m_clistint.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/m_clistint.h b/include/m_clistint.h
index 55fbe34e60..c6f9330c6c 100644
--- a/include/m_clistint.h
+++ b/include/m_clistint.h
@@ -481,7 +481,7 @@ extern CLIST_INTERFACE cli, *pcli;
#define MS_CLIST_RETRIEVE_INTERFACE "CList/RetrieveInterface"
-__forceinline CLIST_INTERFACE* mir_getCLI()
-{ return (CLIST_INTERFACE*)CallService(MS_CLIST_RETRIEVE_INTERFACE, 0, 0);
+__forceinline void mir_getCLI()
+{ pcli = (CLIST_INTERFACE*)CallService(MS_CLIST_RETRIEVE_INTERFACE, 0, 0);
}
#endif // M_CLISTINT_H__