From 3c26ab9c6b3142d81b2959ef2e368be6d8475a56 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Sun, 13 Jan 2013 18:44:59 +0000 Subject: another LP reload issue git-svn-id: http://svn.miranda-ng.org/main/trunk@3100 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- protocols/JabberG/src/jabber_privacy.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'protocols') 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 } -- cgit v1.2.3