Change NULL to nullptr

This commit is contained in:
Birunthan Mohanathas
2013-05-31 17:28:39 +03:00
parent da9384cfad
commit 1934c5db72
92 changed files with 760 additions and 759 deletions

View File

@ -103,7 +103,7 @@ PLUGIN_EXPORT double Update(void* data)
if (measure->type == WINDOW_COUNT)
{
g_WindowCount = 0;
EnumChildWindows(NULL, EnumWindowProc, 0);
EnumChildWindows(nullptr, EnumWindowProc, 0);
return g_WindowCount;
}
@ -133,7 +133,7 @@ PLUGIN_EXPORT double Update(void* data)
for (UINT i = 0, isize = bytesNeeded / sizeof(DWORD); i < isize; ++i)
{
HANDLE hProcess = OpenProcess(flags, true, aProcesses[i]);
if (hProcess != NULL)
if (hProcess != nullptr)
{
if (name)
{