summaryrefslogtreecommitdiff
path: root/plugins/TabSRMM/src/sidebar.h
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/TabSRMM/src/sidebar.h')
-rw-r--r--plugins/TabSRMM/src/sidebar.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/TabSRMM/src/sidebar.h b/plugins/TabSRMM/src/sidebar.h
index 7cfbfa8470..505fc26847 100644
--- a/plugins/TabSRMM/src/sidebar.h
+++ b/plugins/TabSRMM/src/sidebar.h
@@ -156,8 +156,8 @@ public:
CSideBarButton *oldItem = m_activeItem;
m_activeItem = const_cast<CSideBarButton *>(newItem);
if (oldItem)
- ::InvalidateRect(oldItem->getHwnd(), NULL, FALSE);
- ::InvalidateRect(m_activeItem->getHwnd(), NULL, FALSE);
+ ::InvalidateRect(oldItem->getHwnd(), nullptr, FALSE);
+ ::InvalidateRect(m_activeItem->getHwnd(), nullptr, FALSE);
scrollIntoView(m_activeItem);
return(oldItem);
}