summaryrefslogtreecommitdiff
path: root/src/main.cpp
diff options
context:
space:
mode:
authorGluzskiy Alexandr <sss@sss.chaoslab.ru>2012-07-30 02:35:59 +0300
committerGluzskiy Alexandr <sss@sss.chaoslab.ru>2012-07-30 02:35:59 +0300
commit1dec2e0a9041b2347be5a1cdcb5b6b4eee20032e (patch)
tree8b24cf80be561452775265ae17cec7d530c26aba /src/main.cpp
parent90bc9b46847645fae17681b12df6305a28d9c73a (diff)
64bit fixes, langpack fixes
Diffstat (limited to 'src/main.cpp')
-rwxr-xr-xsrc/main.cpp10
1 files changed, 5 insertions, 5 deletions
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 )