summaryrefslogtreecommitdiff
path: root/plugins/Clist_modern/src
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2022-01-22 15:37:41 +0300
committerGeorge Hazan <ghazan@miranda.im>2022-01-22 15:37:41 +0300
commit25ae47d035f0f23c763d7fb7a7dac9fa9d0e65f4 (patch)
tree9dedcbca0dd5557469af965d4941ddfad77c2c6f /plugins/Clist_modern/src
parentc6383439f6377a00d39a291f61005d5e0a0f8c7f (diff)
Clist_Modern: fix for occasional crash under Wine
Diffstat (limited to 'plugins/Clist_modern/src')
-rw-r--r--plugins/Clist_modern/src/modern_xptheme.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/Clist_modern/src/modern_xptheme.cpp b/plugins/Clist_modern/src/modern_xptheme.cpp
index 6d101e3955..031422fa5b 100644
--- a/plugins/Clist_modern/src/modern_xptheme.cpp
+++ b/plugins/Clist_modern/src/modern_xptheme.cpp
@@ -4,12 +4,12 @@
//statical
-typedef struct _tagXPTObject
+struct XPTObject : public MZeroedObject
{
HANDLE hThemeHandle;
HWND hOwnerWindow;
LPCWSTR lpcwClassObject;
-} XPTObject;
+};
static OBJLIST<XPTObject> xptObjectList(1);
static mir_cs xptCS;