summaryrefslogtreecommitdiff
path: root/plugins/BasicHistory/src/BasicHistory.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2015-01-08 11:32:03 +0000
committerGeorge Hazan <george.hazan@gmail.com>2015-01-08 11:32:03 +0000
commitd0218e1e5f874668e28366fe043d3c30f8238aa3 (patch)
tree804971acf25de104772773ccada13f6d23a3b192 /plugins/BasicHistory/src/BasicHistory.cpp
parentb17ba2cace1782778de0a2bea8b2b96bb1dba157 (diff)
minus another critical section
git-svn-id: http://svn.miranda-ng.org/main/trunk@11793 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/BasicHistory/src/BasicHistory.cpp')
-rw-r--r--plugins/BasicHistory/src/BasicHistory.cpp8
1 files changed, 3 insertions, 5 deletions
diff --git a/plugins/BasicHistory/src/BasicHistory.cpp b/plugins/BasicHistory/src/BasicHistory.cpp
index f625f727ea..687f416fe8 100644
--- a/plugins/BasicHistory/src/BasicHistory.cpp
+++ b/plugins/BasicHistory/src/BasicHistory.cpp
@@ -59,7 +59,7 @@ BOOL WINAPI DllMain(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpvReserved)
return TRUE;
}
-TIME_API tmi = {0};
+TIME_API tmi = { 0 };
int hLangpack = 0;
extern "C" __declspec(dllexport) PLUGININFOEX* MirandaPluginInfoEx(DWORD mirandaVersion)
@@ -234,8 +234,8 @@ int ModulesLoaded(WPARAM wParam, LPARAM lParam)
else Options::instance->ftpExePathDef = ftpExe;
}
- TCHAR* log = _T("%miranda_logpath%\\BasicHistory\\ftplog.txt");
- TCHAR* logAbsolute = Utils_ReplaceVarsT(log);
+ TCHAR *log = _T("%miranda_logpath%\\BasicHistory\\ftplog.txt");
+ TCHAR *logAbsolute = Utils_ReplaceVarsT(log);
Options::instance->ftpLogPath = logAbsolute;
mir_free(logAbsolute);
Options::instance->Load();
@@ -294,8 +294,6 @@ extern "C" int __declspec(dllexport) Unload(void)
DestroyCursor(hCurSplitNS);
DestroyCursor(hCurSplitWE);
- EventList::Deinit();
-
if (Options::instance != NULL) {
Options::instance->Unload();
delete Options::instance;