Use nullptr instead lf C-styled NULL

This commit is contained in:
Kirill Bobyrev
2018-03-07 22:21:28 +03:00
committed by Paul Beckingham
parent 6f19a3fbae
commit 511a235215
22 changed files with 56 additions and 56 deletions

View File

@@ -1026,7 +1026,7 @@ void TDB2::show_diff (
const std::string& prior,
const std::string& when)
{
Datetime lastChange (strtol (when.c_str (), NULL, 10));
Datetime lastChange (strtol (when.c_str (), nullptr, 10));
// Set the colors.
Color color_red (Context::getContext ().color () ? Context::getContext ().config.get ("color.undo.before") : "");