summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--plugins/ExternalAPI/m_toptoolbar.h2
-rw-r--r--plugins/TabSRMM/include/mim.h4
2 files changed, 3 insertions, 3 deletions
diff --git a/plugins/ExternalAPI/m_toptoolbar.h b/plugins/ExternalAPI/m_toptoolbar.h
index dd664d4124..ee3e1d0038 100644
--- a/plugins/ExternalAPI/m_toptoolbar.h
+++ b/plugins/ExternalAPI/m_toptoolbar.h
@@ -10,8 +10,8 @@
#define TTBBF_SHOWTOOLTIP 0x0008
#define TTBBF_ISSEPARATOR 0x0020
#define TTBBF_ISLBUTTON 0x0040
-#define TTBBF_ASPUSHBUTTON 0x0080
#define TTBBF_ISSBUTTON 0x0100
+#define TTBBF_ASPUSHBUTTON 0x0200
typedef struct {
int cbSize;
diff --git a/plugins/TabSRMM/include/mim.h b/plugins/TabSRMM/include/mim.h
index 9bee54ffbd..712831fec2 100644
--- a/plugins/TabSRMM/include/mim.h
+++ b/plugins/TabSRMM/include/mim.h
@@ -110,12 +110,12 @@ public:
}
~CMimAPI() {
+ if (m_haveBufferedPaint)
+ m_pfnBufferedPaintUninit();
if (m_hUxTheme != 0)
FreeLibrary(m_hUxTheme);
if (m_hDwmApi != 0)
FreeLibrary(m_hDwmApi);
- if (m_haveBufferedPaint)
- m_pfnBufferedPaintUninit();
if (m_hChatLogLock != INVALID_HANDLE_VALUE)
CloseHandle(m_hChatLogLock);