From 1c0172cca4f1e90679321912e20436a7f42f122d Mon Sep 17 00:00:00 2001 From: Goraf <22941576+Goraf@users.noreply.github.com> Date: Sat, 24 Feb 2018 15:32:06 +0100 Subject: more nullptr --- plugins/HistoryStats/src/utf8buffer.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugins/HistoryStats/src/utf8buffer.h') diff --git a/plugins/HistoryStats/src/utf8buffer.h b/plugins/HistoryStats/src/utf8buffer.h index 56342adbf7..8f7d3cdddc 100644 --- a/plugins/HistoryStats/src/utf8buffer.h +++ b/plugins/HistoryStats/src/utf8buffer.h @@ -48,7 +48,7 @@ protected: { return _Tr::not_eof(_C); } - else if (pptr() != 0 && pptr() < epptr()) + else if (pptr() != nullptr && pptr() < epptr()) { *pptr() = _Tr::to_char_type(_C); pbump(1); -- cgit v1.2.3