summaryrefslogtreecommitdiff
path: root/src/utils/specialfolder.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/utils/specialfolder.cpp')
-rw-r--r--src/utils/specialfolder.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/utils/specialfolder.cpp b/src/utils/specialfolder.cpp
index 31eaec687..fae0fbf47 100644
--- a/src/utils/specialfolder.cpp
+++ b/src/utils/specialfolder.cpp
@@ -45,7 +45,7 @@ std::string getSpecialFolderLocation(int folderId)
char szPath[_MAX_PATH];
// get the item ID list for folderId
- HRESULT hr = SHGetSpecialFolderLocation(NULL, folderId, &pItemIdList);
+ HRESULT hr = SHGetSpecialFolderLocation(nullptr, folderId, &pItemIdList);
if (hr != S_OK)
return ret;