summaryrefslogtreecommitdiff
path: root/plugins/TabSRMM/src/sidebar.h
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2017-03-08 15:46:18 +0300
committerGeorge Hazan <ghazan@miranda.im>2017-03-08 15:46:18 +0300
commit7b19b6715a75c52e0285ee2031a8fa2ddace1da7 (patch)
treeaa265af852036090d92a1d7036ea42ce805b8296 /plugins/TabSRMM/src/sidebar.h
parent5d2730f1fb7c3d79ce55292f1d5d7bb5dc33cb44 (diff)
code cleaning
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);
}