summaryrefslogtreecommitdiff
path: root/plugins/BasicHistory/src/Options.h
diff options
context:
space:
mode:
authorGoraf <22941576+Goraf@users.noreply.github.com>2018-02-24 15:32:06 +0100
committerGoraf <22941576+Goraf@users.noreply.github.com>2018-02-24 18:20:46 +0100
commit1c0172cca4f1e90679321912e20436a7f42f122d (patch)
tree77a544d2c09332ec176f42ebcf58a40d9c5d2b93 /plugins/BasicHistory/src/Options.h
parentdff565f40105b20b0e8e4dba1f48ccc9b8e7ff44 (diff)
more nullptr
Diffstat (limited to 'plugins/BasicHistory/src/Options.h')
-rw-r--r--plugins/BasicHistory/src/Options.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/BasicHistory/src/Options.h b/plugins/BasicHistory/src/Options.h
index 097eec73f7..acb27417f2 100644
--- a/plugins/BasicHistory/src/Options.h
+++ b/plugins/BasicHistory/src/Options.h
@@ -115,7 +115,7 @@ struct TaskOptions
deltaTime = 24;
orderNr = 0;
wchar_t buf[MAX_PATH];
- if (SUCCEEDED(SHGetFolderPath(NULL, CSIDL_PERSONAL, NULL, SHGFP_TYPE_CURRENT, buf)))
+ if (SUCCEEDED(SHGetFolderPath(nullptr, CSIDL_PERSONAL, nullptr, SHGFP_TYPE_CURRENT, buf)))
{
filePath = buf;
filePath += L"\\";
@@ -123,7 +123,7 @@ struct TaskOptions
filePath += TranslateT("History");
filePath += L"_<contact>_<date>.<ext>";
- lastExport = time(NULL);
+ lastExport = time(nullptr);
}
};