summaryrefslogtreecommitdiff
path: root/protocols/JabberG/src
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2024-02-09 12:15:01 +0300
committerGeorge Hazan <george.hazan@gmail.com>2024-02-09 12:15:01 +0300
commitaa3f51fd00213fa82a2d7ad092e05319f6a4be90 (patch)
tree1170a941c56d2b6bd19f436c66bdaa75d8710cb7 /protocols/JabberG/src
parentab53bb4692c05cff1f1842dbbea887876ef550c5 (diff)
code cleaning
Diffstat (limited to 'protocols/JabberG/src')
-rw-r--r--protocols/JabberG/src/jabber_opt.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/protocols/JabberG/src/jabber_opt.cpp b/protocols/JabberG/src/jabber_opt.cpp
index 016ec1efbf..b1cd46297f 100644
--- a/protocols/JabberG/src/jabber_opt.cpp
+++ b/protocols/JabberG/src/jabber_opt.cpp
@@ -482,7 +482,7 @@ protected:
m_proto->delSetting("Password");
char *szLanguageCode = (char *)m_cbLocale.GetCurData();
- if (szLanguageCode && szLanguageCode != INVALID_HANDLE_VALUE) {
+ if (szLanguageCode) {
m_proto->setString("XmlLang", szLanguageCode);
replaceStr(m_proto->m_tszSelectedLang, szLanguageCode);
}