diff options
Diffstat (limited to 'src/PerLine.cxx')
-rw-r--r-- | src/PerLine.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/PerLine.cxx b/src/PerLine.cxx index 3dfdffe5c..4a313d292 100644 --- a/src/PerLine.cxx +++ b/src/PerLine.cxx @@ -350,14 +350,14 @@ const char *LineAnnotation::Text(Sci::Line line) const { if (annotations.Length() && (line >= 0) && (line < annotations.Length()) && annotations[line]) return annotations[line].get()+sizeof(AnnotationHeader); else - return 0; + return nullptr; } const unsigned char *LineAnnotation::Styles(Sci::Line line) const { if (annotations.Length() && (line >= 0) && (line < annotations.Length()) && annotations[line] && MultipleStyles(line)) return reinterpret_cast<unsigned char *>(annotations[line].get() + sizeof(AnnotationHeader) + Length(line)); else - return 0; + return nullptr; } static std::unique_ptr<char[]>AllocateAnnotation(int length, int style) { |