summaryrefslogtreecommitdiff
path: root/plugins/Clist_modern/modern_clui.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2012-06-18 11:47:05 +0000
committerGeorge Hazan <george.hazan@gmail.com>2012-06-18 11:47:05 +0000
commit81fe4a0a34e8e07305381e18e449246fef822673 (patch)
treef67d76b7531445e7a18e7f0975f76f66597e8f69 /plugins/Clist_modern/modern_clui.cpp
parent1be97f17884f9046e6ab45d45ea327ef00a3d095 (diff)
sync
git-svn-id: http://svn.miranda-ng.org/main/trunk@469 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/Clist_modern/modern_clui.cpp')
-rw-r--r--plugins/Clist_modern/modern_clui.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/Clist_modern/modern_clui.cpp b/plugins/Clist_modern/modern_clui.cpp
index 8830f119d6..914c0e240b 100644
--- a/plugins/Clist_modern/modern_clui.cpp
+++ b/plugins/Clist_modern/modern_clui.cpp
@@ -137,7 +137,7 @@ int CLUI::OnEvent_ContactMenuPreBuild(WPARAM wParam, LPARAM lParam)
else
{
DBVARIANT dbv={0};
- if (ModernGetSettingString(hItem, "ContactPhoto", "File", &dbv))
+ if (ModernGetSettingTString(hItem, "ContactPhoto", "File", &dbv))
{
has_avatar = 0;
}
@@ -2264,7 +2264,7 @@ LRESULT CLUI::OnPaint( UINT msg, WPARAM wParam, LPARAM lParam )
LRESULT CLUI::OnCreate( UINT msg, WPARAM wParam, LPARAM lParam )
{
- CallService(MS_LANGPACK_TRANSLATEMENU,(WPARAM)GetMenu(m_hWnd),0);
+ TranslateMenu(GetMenu(m_hWnd));
DrawMenuBar(m_hWnd);
CLUIServices_ProtocolStatusChanged(0,0);