summaryrefslogtreecommitdiff
path: root/plugins/Clist_modern/src/modern_clui.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2013-03-29 13:41:26 +0000
committerGeorge Hazan <george.hazan@gmail.com>2013-03-29 13:41:26 +0000
commitc9c40268ec6beccd226b23286532935d0226f488 (patch)
treea2b68e0b80b3870eba238d67ce685f7ab3ef5191 /plugins/Clist_modern/src/modern_clui.cpp
parent91a8274d913874078111da7ffa8e8550c1900f90 (diff)
removed some unneeded translations
git-svn-id: http://svn.miranda-ng.org/main/trunk@4235 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/Clist_modern/src/modern_clui.cpp')
-rw-r--r--plugins/Clist_modern/src/modern_clui.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/plugins/Clist_modern/src/modern_clui.cpp b/plugins/Clist_modern/src/modern_clui.cpp
index 27e2b34ff4..012fea9575 100644
--- a/plugins/Clist_modern/src/modern_clui.cpp
+++ b/plugins/Clist_modern/src/modern_clui.cpp
@@ -2557,8 +2557,9 @@ LRESULT CLUI::OnMeasureItem(UINT msg, WPARAM wParam, LPARAM lParam)
case MENU_STATUSMENU:
HDC hdc = GetDC( m_hWnd );
+ TCHAR *ptszStr = TranslateT("Status");
SIZE textSize;
- GetTextExtentPoint32A( hdc, Translate("Status"), lstrlenA( Translate("Status")), &textSize );
+ GetTextExtentPoint32(hdc, ptszStr, lstrlen(ptszStr), &textSize);
pmis->itemWidth = textSize.cx;
pmis->itemHeight = 0;
ReleaseDC( m_hWnd, hdc );