From 1a5806272da2ff68484424e60f73ada2f6b092f2 Mon Sep 17 00:00:00 2001 From: Alexander Gluzsky Date: Sun, 29 Jul 2012 21:27:07 +0000 Subject: trivial fixes git-svn-id: http://svn.miranda-ng.org/main/trunk@1256 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/msg_export/src/main.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'plugins/msg_export/src/main.cpp') 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 ); } -- cgit v1.2.3