summaryrefslogtreecommitdiff
path: root/protocols/JabberG/src
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2021-05-09 18:45:30 +0300
committerGeorge Hazan <ghazan@miranda.im>2021-05-10 19:46:05 +0300
commit50c2fbbb1f7f6f233c980d7e4a52151fb72820f7 (patch)
tree349bc156e11357e68e2814778e7e4287eae43b3b /protocols/JabberG/src
parent0943ae89e869ded753e5fbc5b64dca458a8f31b8 (diff)
suddenly: tipper services were used as string constants
(cherry picked from commit 15fcbbc128178ea5a4cdb1a58927a43ea740be88)
Diffstat (limited to 'protocols/JabberG/src')
-rw-r--r--protocols/JabberG/src/jabber_svc.cpp2
-rwxr-xr-xprotocols/JabberG/src/stdafx.h1
2 files changed, 2 insertions, 1 deletions
diff --git a/protocols/JabberG/src/jabber_svc.cpp b/protocols/JabberG/src/jabber_svc.cpp
index f7ef22bb29..1ec3c80106 100644
--- a/protocols/JabberG/src/jabber_svc.cpp
+++ b/protocols/JabberG/src/jabber_svc.cpp
@@ -344,7 +344,7 @@ INT_PTR __cdecl CJabberProto::JabberGCGetToolTipText(WPARAM wParam, LPARAM lPara
// Role: Moderator
// Affiliation: Affiliation
- bool bIsTipper = ServiceExists("mToolTip/HideTip");
+ bool bIsTipper = ServiceExists(MS_TIPPER_HIDETIP);
//JID:
CMStringW outBuf;
diff --git a/protocols/JabberG/src/stdafx.h b/protocols/JabberG/src/stdafx.h
index 6fece86135..30263973f0 100755
--- a/protocols/JabberG/src/stdafx.h
+++ b/protocols/JabberG/src/stdafx.h
@@ -81,6 +81,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
#include <m_skin.h>
#include <m_srmm_int.h>
#include <m_timezones.h>
+#include <m_tipper.h>
#include <m_toptoolbar.h>
#include <m_userinfo.h>
#include <m_utils.h>