cefclient: Convert NULL to nullptr (see issue #2861)

This commit is contained in:
Marshall Greenblatt
2020-01-15 15:28:12 +01:00
parent b785d34d29
commit d02d252690
53 changed files with 173 additions and 170 deletions

View File

@@ -25,7 +25,7 @@ std::string MainContextImpl::GetDownloadPath(const std::string& file_name) {
std::string MainContextImpl::GetAppWorkingDirectory() {
char szWorkingDir[MAX_PATH + 1];
if (_getcwd(szWorkingDir, MAX_PATH) == NULL) {
if (_getcwd(szWorkingDir, MAX_PATH) == nullptr) {
szWorkingDir[0] = 0;
} else {
// Add trailing path separator.