summaryrefslogtreecommitdiff
path: root/plugins/HistoryStats/src/utf8buffer.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/HistoryStats/src/utf8buffer.h
parentdff565f40105b20b0e8e4dba1f48ccc9b8e7ff44 (diff)
more nullptr
Diffstat (limited to 'plugins/HistoryStats/src/utf8buffer.h')
-rw-r--r--plugins/HistoryStats/src/utf8buffer.h2
1 files changed, 1 insertions, 1 deletions
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);