summaryrefslogtreecommitdiff
path: root/src/main.cpp
diff options
context:
space:
mode:
authorGluzskiy Alexandr <sss@sss.chaoslab.ru>2012-07-30 00:39:09 +0300
committerGluzskiy Alexandr <sss@sss.chaoslab.ru>2012-07-30 00:39:09 +0300
commit90bc9b46847645fae17681b12df6305a28d9c73a (patch)
tree52388f06e56643d5ccee78c7c335740ffa4f85e2 /src/main.cpp
parent3d4ad9603b46938903947012d5c176fc6be48772 (diff)
trivial fixes
Diffstat (limited to 'src/main.cpp')
-rwxr-xr-xsrc/main.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/main.cpp b/src/main.cpp
index c49623d..5d9ce23 100755
--- a/src/main.cpp
+++ b/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 );
}