From 08d4acbb33f69c9bb0dcb4255785367f631c0e95 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Tue, 29 Oct 2019 18:54:58 +0300 Subject: rest of operational flags in tabSRMM moved to bool variables --- plugins/TabSRMM/src/msgdlgutils.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugins/TabSRMM/src/msgdlgutils.cpp') diff --git a/plugins/TabSRMM/src/msgdlgutils.cpp b/plugins/TabSRMM/src/msgdlgutils.cpp index e369c32818..dca0a1a8db 100644 --- a/plugins/TabSRMM/src/msgdlgutils.cpp +++ b/plugins/TabSRMM/src/msgdlgutils.cpp @@ -213,7 +213,7 @@ void TSAPI HandleIconFeedback(CMsgDialog *dat, HICON iIcon) TCITEM item = {}; if (iIcon == (HICON)-1) { // restore status image - if (dat->m_dwFlags & MWF_ERRORSTATE) + if (dat->m_bErrorState) dat->m_hTabIcon = PluginConfig.g_iconErr; else dat->m_hTabIcon = dat->m_hTabStatusIcon; -- cgit v1.2.3