From 1dec2e0a9041b2347be5a1cdcb5b6b4eee20032e Mon Sep 17 00:00:00 2001 From: Gluzskiy Alexandr Date: Mon, 30 Jul 2012 02:35:59 +0300 Subject: 64bit fixes, langpack fixes --- src/main.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src/main.cpp') diff --git a/src/main.cpp b/src/main.cpp index 5d9ce23..79e4b0b 100755 --- a/src/main.cpp +++ b/src/main.cpp @@ -194,13 +194,13 @@ int MainInit(WPARAM /*wparam*/,LPARAM /*lparam*/) if( bReplaceHistory ) { mi.position= 1000090000; - mi.pszName=Translate("View &History"); + mi.pszName=LPGEN("View &History"); mi.pszService=MS_HISTORY_SHOWCONTACTHISTORY; } else { mi.position = 1000090100; - mi.pszName=Translate("Open E&xported History"); + mi.pszName=LPGEN("Open E&xported History"); mi.pszService=MS_SHOW_EXPORT_HISTORY; } hOpenHistoryMenuItem = Menu_AddContactMenuItem(&mi); @@ -343,7 +343,7 @@ int __declspec(dllexport)Load() if( bReplaceHistory ) { - hServiceFunc = CreateServiceFunction(MS_HISTORY_SHOWCONTACTHISTORY,ShowExportHistory); //this need new code + hServiceFunc = CreateServiceFunction(MS_HISTORY_SHOWCONTACTHISTORY,(MIRANDASERVICE)ShowExportHistory); //this need new code /* if( hServiceFunc ) { int *disableDefaultModule=(int*)CallService(MS_PLUGINS_GETDISABLEDEFAULTARRAY,0,0); @@ -359,12 +359,12 @@ int __declspec(dllexport)Load() }*/ if( ! hServiceFunc ) - MessageBox( NULL , TranslateTS(_T("Failed to replace Miranda History.\r\nThis is most likely due to changes in Miranda.")) , MSG_BOX_TITEL , MB_OK ); + MessageBox( NULL , LPGENT("Failed to replace Miranda History.\r\nThis is most likely due to changes in Miranda.") , MSG_BOX_TITEL , MB_OK ); } if( ! hServiceFunc ) { - hServiceFunc = CreateServiceFunction(MS_SHOW_EXPORT_HISTORY,ShowExportHistory); + hServiceFunc = CreateServiceFunction(MS_SHOW_EXPORT_HISTORY,(MIRANDASERVICE)ShowExportHistory); } if( ! hServiceFunc ) -- cgit v1.2.3