summaryrefslogtreecommitdiff
path: root/plugins/BasicHistory/src/BasicHistory.cpp
diff options
context:
space:
mode:
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;