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 8bdb3d104..ecb5bc180 100644 --- a/src/CellBuffer.cxx +++ b/src/CellBuffer.cxx @@ -796,7 +796,7 @@ int CellBuffer::LineStart(int line) { if (line < 0) return 0; else if (line > lv.lines) - return length; + return Length(); else return lv.linesData[line].startPosition; } |