summaryrefslogtreecommitdiff
path: root/src/miranda32
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2017-09-19 21:54:29 +0300
committerGeorge Hazan <ghazan@miranda.im>2017-09-19 21:54:38 +0300
commit23445f29860da2ebec3ba021f79f860e128e9113 (patch)
tree2e7afb2c02687ea5a5e192a3a8de3657cc028620 /src/miranda32
parente7416107918d33a721915764c019beb13418385f (diff)
unfortunately there's no other way
Diffstat (limited to 'src/miranda32')
-rw-r--r--src/miranda32/src/miranda.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/miranda32/src/miranda.cpp b/src/miranda32/src/miranda.cpp
index a42b367110..bb95ad1e56 100644
--- a/src/miranda32/src/miranda.cpp
+++ b/src/miranda32/src/miranda.cpp
@@ -49,6 +49,8 @@ int WINAPI wWinMain(HINSTANCE hInstance, HINSTANCE, LPTSTR cmdLine, int)
GetEnvironmentVariable(L"PATH", ptszVal + cbPath + 1, cbSize);
SetEnvironmentVariable(L"PATH", ptszVal);
+ DeleteFile(L"mir_core.dll");
+
int retVal;
HINSTANCE hMirApp = LoadLibrary(L"mir_app.mir");
if (hMirApp == NULL) {