diff options
author | George Hazan <ghazan@miranda.im> | 2018-03-08 14:21:24 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2018-03-08 14:21:24 +0300 |
commit | b6988d21a53e9c1ec87d0bdf20be39ae85c945c0 (patch) | |
tree | 8f6187387e476291331b47d99b364a335a7ad143 /plugins/SplashScreen/src/main.cpp | |
parent | 9b3adc3d57c8299a1dc8c178fa6a8313d69dc7c2 (diff) |
fixes #1175 (Advaimg artifacts)
Diffstat (limited to 'plugins/SplashScreen/src/main.cpp')
-rw-r--r-- | plugins/SplashScreen/src/main.cpp | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/plugins/SplashScreen/src/main.cpp b/plugins/SplashScreen/src/main.cpp index 0c8b476dc5..87b877927e 100644 --- a/plugins/SplashScreen/src/main.cpp +++ b/plugins/SplashScreen/src/main.cpp @@ -23,15 +23,12 @@ CLIST_INTERFACE *pcli; HINSTANCE hInst = nullptr;
int hLangpack;
-static HMODULE hAdvaimg = nullptr;
-
BOOL bstartup = true; // startup?
BOOL bserviceinvoked = false;
BOOL bmodulesloaded = false; // modules are loaded
-BOOL png2dibavail = true; // can we use png2dib service?
// path to miranda's dir, config file path, splash path, sound path
-wchar_t szDllName[MAX_PATH], szSplashFile[MAX_PATH], szSoundFile[MAX_PATH], szhAdvaimgPath[MAX_PATH], szPrefix[128], inBuf[80];
+wchar_t szDllName[MAX_PATH], szSplashFile[MAX_PATH], szSoundFile[MAX_PATH], szPrefix[128], inBuf[80];
wchar_t *szMirDir;
char szVersion[MAX_PATH];
#ifdef _DEBUG
@@ -64,7 +61,6 @@ void SplashMain() if (bstartup) {
// Retrive path to exe of current running Miranda is located
szMirDir = Utils_ReplaceVarsW(L"%miranda_path%");
- mir_snwprintf(szhAdvaimgPath, L"%s\\plugins\\advaimg.dll", szMirDir);
Miranda_GetVersionText(szVersion, MAX_PATH);
#ifdef _DEBUG
@@ -270,10 +266,6 @@ extern "C" int __declspec(dllexport) Unload(void) {
UnregisterClass(SPLASH_CLASS, hInst);
- // Freeing loaded libraries
- if (hAdvaimg)
- FreeLibrary(hAdvaimg);
-
#ifdef _DEBUG
logMessage(L"Unload", L"Job done");
#endif
|