summaryrefslogtreecommitdiff
path: root/plugins/UserInfoEx/src/ctrl_base.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/UserInfoEx/src/ctrl_base.cpp')
-rw-r--r--plugins/UserInfoEx/src/ctrl_base.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/UserInfoEx/src/ctrl_base.cpp b/plugins/UserInfoEx/src/ctrl_base.cpp
index 35780b7fb4..9c82d728ad 100644
--- a/plugins/UserInfoEx/src/ctrl_base.cpp
+++ b/plugins/UserInfoEx/src/ctrl_base.cpp
@@ -282,7 +282,7 @@ INT_PTR CCtrlList::OnSetTextColour(HWND hCtrl, HDC hdc)
if (IsWindow(hCtrl) && myGlobals.ShowPropsheetColours)
{
CBaseCtrl* pCtrl = CBaseCtrl::GetObj(hCtrl);
- if (PtrIsValid(pCtrl) && (pCtrl->_cbSize = sizeof(CBaseCtrl)))
+ if (PtrIsValid(pCtrl) && (pCtrl->_cbSize == sizeof(CBaseCtrl)))
{
return pCtrl->OnSetTextColour(hdc);
}