diff options
author | George Hazan <ghazan@miranda.im> | 2021-05-09 18:45:30 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2021-05-10 19:46:05 +0300 |
commit | 50c2fbbb1f7f6f233c980d7e4a52151fb72820f7 (patch) | |
tree | 349bc156e11357e68e2814778e7e4287eae43b3b /plugins/Clist_modern/src | |
parent | 0943ae89e869ded753e5fbc5b64dca458a8f31b8 (diff) |
suddenly: tipper services were used as string constants
(cherry picked from commit 15fcbbc128178ea5a4cdb1a58927a43ea740be88)
Diffstat (limited to 'plugins/Clist_modern/src')
-rw-r--r-- | plugins/Clist_modern/src/modern_clisttray.cpp | 2 | ||||
-rw-r--r-- | plugins/Clist_modern/src/stdafx.h | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/plugins/Clist_modern/src/modern_clisttray.cpp b/plugins/Clist_modern/src/modern_clisttray.cpp index bef48fc9ef..b300c8a012 100644 --- a/plugins/Clist_modern/src/modern_clisttray.cpp +++ b/plugins/Clist_modern/src/modern_clisttray.cpp @@ -409,7 +409,7 @@ int cliTrayCalcChanged(const char *szChangedProto, int, int) nid.uFlags = NIF_ICON | NIF_TIP;
// if Tipper is missing or turned off for tray, use system tooltips
- if (!ServiceExists("mToolTip/ShowTip") || !db_get_b(0, "Tipper", "TrayTip", 1))
+ if (!ServiceExists(MS_TIPPER_SHOWTIPW) || !db_get_b(0, "Tipper", "TrayTip", 1))
wcsncpy_s(nid.szTip, g_clistApi.szTip, _TRUNCATE);
Shell_NotifyIcon(NIM_MODIFY, &nid);
diff --git a/plugins/Clist_modern/src/stdafx.h b/plugins/Clist_modern/src/stdafx.h index 4fca6633eb..a9b2e1fb57 100644 --- a/plugins/Clist_modern/src/stdafx.h +++ b/plugins/Clist_modern/src/stdafx.h @@ -95,6 +95,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. #include <m_cluiframes.h>
#include <m_protoint.h>
#include <m_netlib.h>
+#include <m_tipper.h>
#include <m_toptoolbar.h>
#include <m_metacontacts.h>
#include <m_variables.h>
|