From e0b1fbf35cc17f73de8049cb72494c95669a9195 Mon Sep 17 00:00:00 2001 From: Kirill Volinsky Date: Thu, 12 Jul 2012 13:56:54 +0000 Subject: minor toptoolbar fixes git-svn-id: http://svn.miranda-ng.org/main/trunk@925 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/Svc_dbepp/main.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'plugins/Svc_dbepp/main.cpp') diff --git a/plugins/Svc_dbepp/main.cpp b/plugins/Svc_dbepp/main.cpp index b10a7e79fd..591ba3f1a1 100644 --- a/plugins/Svc_dbepp/main.cpp +++ b/plugins/Svc_dbepp/main.cpp @@ -150,15 +150,15 @@ BOOL IsCP_UTF8(void) static int OnTTBLoaded(WPARAM wParam,LPARAM lParam) { TTBButton ttbb = {0}; - HICON ico = LoadIcon(hInst,MAKEINTRESOURCE(ICO_DBE_BUTT)); + HICON ico = LoadIcon(hInst, MAKEINTRESOURCE(ICO_DBE_BUTT)); UnhookEvent(hTTBHook); ttbb.cbSize = sizeof(ttbb); ttbb.dwFlags = TTBBF_VISIBLE | TTBBF_SHOWTOOLTIP; ttbb.pszService = "DBEditorpp/MenuCommand"; - ttbb.name = "Database Editor++"; + ttbb.name = LPGEN("Database Editor++"); ttbb.hIconUp = ico; - ttbb.pszTooltipUp = "Show DataBase Editor"; + ttbb.pszTooltipUp = LPGEN("Show DataBase Editor"); hTTBButt = TopToolbar_AddButton(&ttbb); return 0; } -- cgit v1.2.3