diff options
author | George Hazan <ghazan@miranda.im> | 2017-03-08 15:46:18 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2017-03-08 15:46:18 +0300 |
commit | 7b19b6715a75c52e0285ee2031a8fa2ddace1da7 (patch) | |
tree | aa265af852036090d92a1d7036ea42ce805b8296 /plugins/TabSRMM/src/taskbar.cpp | |
parent | 5d2730f1fb7c3d79ce55292f1d5d7bb5dc33cb44 (diff) |
code cleaning
Diffstat (limited to 'plugins/TabSRMM/src/taskbar.cpp')
-rw-r--r-- | plugins/TabSRMM/src/taskbar.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/plugins/TabSRMM/src/taskbar.cpp b/plugins/TabSRMM/src/taskbar.cpp index 16a3c67145..1073cb0271 100644 --- a/plugins/TabSRMM/src/taskbar.cpp +++ b/plugins/TabSRMM/src/taskbar.cpp @@ -72,7 +72,7 @@ CTaskbarInteract* Win7Taskbar = 0; bool CTaskbarInteract::setOverlayIcon(HWND hwndDlg, LPARAM lParam) const
{
if (m_pTaskbarInterface && m_isEnabled && m_fHaveLargeicons) {
- m_pTaskbarInterface->SetOverlayIcon(hwndDlg, (HICON)lParam, NULL);
+ m_pTaskbarInterface->SetOverlayIcon(hwndDlg, (HICON)lParam, nullptr);
return true;
}
return false;
@@ -120,7 +120,7 @@ bool CTaskbarInteract::haveLargeIcons() void CTaskbarInteract::clearOverlayIcon(HWND hwndDlg) const
{
if (m_pTaskbarInterface && m_isEnabled)
- m_pTaskbarInterface->SetOverlayIcon(hwndDlg, NULL, NULL);
+ m_pTaskbarInterface->SetOverlayIcon(hwndDlg, nullptr, nullptr);
}
LONG CTaskbarInteract::updateMetrics()
@@ -231,7 +231,7 @@ CProxyWindow::CProxyWindow(CTabBaseDlg *dat) m_thumb = 0;
m_hwndProxy = ::CreateWindowEx(/*WS_EX_TOOLWINDOW | */WS_EX_NOACTIVATE, PROXYCLASSNAME, L"",
- WS_POPUP | WS_BORDER | WS_SYSMENU | WS_CAPTION, -32000, -32000, 10, 10, NULL, NULL, g_hInst, (LPVOID)this);
+ WS_POPUP | WS_BORDER | WS_SYSMENU | WS_CAPTION, -32000, -32000, 10, 10, nullptr, nullptr, g_hInst, (LPVOID)this);
#if defined(__LOGDEBUG_)
_DebugTraceW(L"create proxy object for: %s", m_dat->cache->getNick());
@@ -314,7 +314,7 @@ void CProxyWindow::sendThumb(LONG width, LONG height) */
void CProxyWindow::sendPreview()
{
- if (m_dat->m_pContainer == NULL)
+ if (m_dat->m_pContainer == nullptr)
return;
CSrmmWindow *dat_active = reinterpret_cast<CSrmmWindow *>(::GetWindowLongPtr(m_dat->m_pContainer->hwndActive, GWLP_USERDATA));
@@ -866,7 +866,7 @@ void CThumbMUC::renderContent() m_rcIcon.top += m_sz.cy;
}
if (si->iType != GCW_SERVER) {
- wchar_t* _p = NULL;
+ wchar_t* _p = nullptr;
if (si->ptszStatusbarText)
_p = wcschr(si->ptszStatusbarText, ']');
if (_p) {
|