From 6b05d57a1d02f233409a2e4392e22b7a3a756a8f Mon Sep 17 00:00:00 2001
From: George Hazan <george.hazan@gmail.com>
Date: Mon, 8 Apr 2013 11:37:28 +0000
Subject: fix for the undocumented MS_CLIST_RETRIEVE_INTERFACE feature

git-svn-id: http://svn.miranda-ng.org/main/trunk@4384 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
---
 src/core/stdclist/src/init.cpp | 1 +
 1 file changed, 1 insertion(+)

(limited to 'src/core/stdclist')

diff --git a/src/core/stdclist/src/init.cpp b/src/core/stdclist/src/init.cpp
index b8b542cc35..56774e5d29 100644
--- a/src/core/stdclist/src/init.cpp
+++ b/src/core/stdclist/src/init.cpp
@@ -136,6 +136,7 @@ extern "C" __declspec(dllexport) int CListInitialise()
 	mir_getLP( &pluginInfo );
 	mir_getCLI();
 
+	pcli->hInst = g_hInst;
 	pcli->pfnPaintClc = PaintClc;
 
 	MySetLayeredWindowAttributes = (BOOL(WINAPI *) (HWND, COLORREF, BYTE, DWORD)) GetProcAddress(
-- 
cgit v1.2.3