diff options
Diffstat (limited to 'src/CellBuffer.cxx')
-rw-r--r-- | src/CellBuffer.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/CellBuffer.cxx b/src/CellBuffer.cxx index 4b061db40..c90e5a337 100644 --- a/src/CellBuffer.cxx +++ b/src/CellBuffer.cxx @@ -646,7 +646,7 @@ void CellBuffer::GetCharRange(char *buffer, Sci::Position position, Sci::Positio } char CellBuffer::StyleAt(Sci::Position position) const noexcept { - return hasStyles ? style.ValueAt(position) : 0; + return hasStyles ? style.ValueAt(position) : '\0'; } void CellBuffer::GetStyleRange(unsigned char *buffer, Sci::Position position, Sci::Position lengthRetrieve) const { |