summaryrefslogtreecommitdiff
path: root/plugins/msg_export/src/main.cpp
diff options
context:
space:
mode:
authorAlexander Gluzsky <sss123next@list.ru>2012-07-29 21:27:07 +0000
committerAlexander Gluzsky <sss123next@list.ru>2012-07-29 21:27:07 +0000
commit1a5806272da2ff68484424e60f73ada2f6b092f2 (patch)
tree8b18f84d04887ffe5e97ff3030dbdcdcc13bab53 /plugins/msg_export/src/main.cpp
parentdaabbc7ce7977b5bc0d38281a10e9b6e8a15b1bb (diff)
trivial fixes
git-svn-id: http://svn.miranda-ng.org/main/trunk@1256 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/msg_export/src/main.cpp')
-rwxr-xr-xplugins/msg_export/src/main.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/plugins/msg_export/src/main.cpp b/plugins/msg_export/src/main.cpp
index c49623d0cf..5d9ce233dc 100755
--- a/plugins/msg_export/src/main.cpp
+++ b/plugins/msg_export/src/main.cpp
@@ -343,8 +343,8 @@ int __declspec(dllexport)Load()
if( bReplaceHistory )
{
-/* hServiceFunc = CreateServiceFunction(MS_HISTORY_SHOWCONTACTHISTORY,ShowExportHistory); //this need new code
- if( hServiceFunc )
+ hServiceFunc = CreateServiceFunction(MS_HISTORY_SHOWCONTACTHISTORY,ShowExportHistory); //this need new code
+/* if( hServiceFunc )
{
int *disableDefaultModule=(int*)CallService(MS_PLUGINS_GETDISABLEDEFAULTARRAY,0,0);
if( disableDefaultModule )
@@ -356,9 +356,9 @@ int __declspec(dllexport)Load()
DestroyServiceFunction( hServiceFunc );
hServiceFunc = 0;
}
- }
+ }*/
- if( ! hServiceFunc ) */
+ 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 );
}