summaryrefslogtreecommitdiff
path: root/protocols
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2013-01-13 18:44:59 +0000
committerGeorge Hazan <george.hazan@gmail.com>2013-01-13 18:44:59 +0000
commit3c26ab9c6b3142d81b2959ef2e368be6d8475a56 (patch)
treec9e094c21de6b250ab9afbf37ce93ebe5193b6f1 /protocols
parent8b25cd89b1cfe7f9bb03249af297231e9a145e92 (diff)
another LP reload issue
git-svn-id: http://svn.miranda-ng.org/main/trunk@3100 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols')
-rw-r--r--protocols/JabberG/src/jabber_privacy.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/protocols/JabberG/src/jabber_privacy.cpp b/protocols/JabberG/src/jabber_privacy.cpp
index 6865acb1bf..8f03e6e7ec 100644
--- a/protocols/JabberG/src/jabber_privacy.cpp
+++ b/protocols/JabberG/src/jabber_privacy.cpp
@@ -664,7 +664,7 @@ protected:
void EnableEditorControls();
BOOL CanExit();
-
+
static LRESULT CALLBACK LstListsSubclassProc(HWND hwnd, UINT msg, WPARAM wParam, LPARAM lParam);
static LRESULT CALLBACK LstRulesSubclassProc(HWND hwnd, UINT msg, WPARAM wParam, LPARAM lParam);
@@ -995,7 +995,7 @@ BOOL CJabberDlgPrivacyLists::OnWmDrawItem(UINT, WPARAM, LPARAM lParam)
for (i = 0; i < SIZEOF(items); ++i)
{
SIZE sz = {0};
- if ( !items[i].text) items[i].text = TranslateTS(items[i].textEng);
+ items[i].text = TranslateTS(items[i].textEng);
GetTextExtentPoint32(lpdis->hDC, items[i].text, lstrlen(items[i].text), &sz);
totalWidth += sz.cx + 18 + 5; // 18 pixels for icon, 5 pixel spacing
}