summaryrefslogtreecommitdiff
path: root/protocols/JabberG/src/jabber_opt.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2016-03-04 17:55:53 +0000
committerGeorge Hazan <george.hazan@gmail.com>2016-03-04 17:55:53 +0000
commit56cfe30444ead1fb844ed5d5036ee91f49501331 (patch)
treea5d4987ab8f23236cc9de3253b850cd948cd5a1f /protocols/JabberG/src/jabber_opt.cpp
parentccf3bef719e71ccafe3a0bd154d0e85d7184a15b (diff)
end of perversion with short ints (fixes #1204)
git-svn-id: http://svn.miranda-ng.org/main/trunk@16425 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/JabberG/src/jabber_opt.cpp')
-rw-r--r--protocols/JabberG/src/jabber_opt.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/protocols/JabberG/src/jabber_opt.cpp b/protocols/JabberG/src/jabber_opt.cpp
index 14227641d5..70bdf2933e 100644
--- a/protocols/JabberG/src/jabber_opt.cpp
+++ b/protocols/JabberG/src/jabber_opt.cpp
@@ -391,7 +391,7 @@ public:
m_lnkServers(this, IDC_LINK_PUBLIC_SERVER, "https://xmpp.net/directory.php")
{
CreateLink(m_txtUsername, "LoginName", _T(""));
- CreateLink(m_txtPriority, "Priority", DBVT_WORD, 0);
+ CreateLink(m_txtPriority, "Priority", DBVT_DWORD, 0);
CreateLink(m_chkSavePassword, proto->m_options.SavePassword);
CreateLink(m_cbResource, "Resource", _T("Miranda"));
CreateLink(m_chkUseHostnameAsResource, proto->m_options.HostNameAsResource);
@@ -1709,7 +1709,7 @@ protected:
break;
case ACC_GTALK:
- m_proto->setWord("Priority", 24);
+ m_proto->setDword("Priority", 24);
{
int port = m_txtPort.GetInt();
if (port == 443 || port == 5223) {