Index: src/chext/ShellPathsHelpers.cpp =================================================================== diff -u -r73583f2ca01fa1b2eae49bbc63bce46b9ecff5db -r8068e0c351055554340ac9755d1bc846893bf2b8 --- src/chext/ShellPathsHelpers.cpp (.../ShellPathsHelpers.cpp) (revision 73583f2ca01fa1b2eae49bbc63bce46b9ecff5db) +++ src/chext/ShellPathsHelpers.cpp (.../ShellPathsHelpers.cpp) (revision 8068e0c351055554340ac9755d1bc846893bf2b8) @@ -50,16 +50,15 @@ tPathContainer.Clear(); // get clipboard data - UINT uiFilesCount = DragQueryFile(hDrop, 0xffffffff, NULL, 0); + UINT uiFilesCount = DragQueryFile(hDrop, 0xffffffff, nullptr, 0); const size_t stMaxPathLength = 32768; TCHAR szPath[stMaxPathLength]; // get files and put it in a table - UINT uiSize; for(UINT uiIndex = 0; uiIndex < uiFilesCount; ++uiIndex) { - uiSize = DragQueryFile(hDrop, uiIndex, szPath, stMaxPathLength); + UINT uiSize = DragQueryFile(hDrop, uiIndex, szPath, stMaxPathLength); szPath[uiSize] = _T('\0'); tPathContainer.Add(chcore::PathFromString(szPath)); @@ -76,7 +75,7 @@ // retrieve some informations from the data object STGMEDIUM medium; - FORMATETC fe = { CF_HDROP, NULL, DVASPECT_CONTENT, -1, TYMED_HGLOBAL}; + FORMATETC fe = { CF_HDROP, nullptr, DVASPECT_CONTENT, -1, TYMED_HGLOBAL}; // retrieve the CF_HDROP-type data from data object HRESULT hResult = piDataObject->QueryGetData(&fe);