diff options
author | Neil <nyamatongwe@gmail.com> | 2021-08-25 08:21:33 +1000 |
---|---|---|
committer | Neil <nyamatongwe@gmail.com> | 2021-08-25 08:21:33 +1000 |
commit | bb75e40bca7a6d81eb4070a7b67950119dc4b8b5 (patch) | |
tree | c90d62fb94bbc96736a8027a0e02dd784826eb59 /src/ContractionState.cxx | |
parent | dc0398d650e75efe9641f0c48d630f2c2027281a (diff) | |
download | scintilla-mirror-bb75e40bca7a6d81eb4070a7b67950119dc4b8b5.tar.gz |
Allow SCI_HIDELINES to hide the first line or all lines.
Diffstat (limited to 'src/ContractionState.cxx')
-rw-r--r-- | src/ContractionState.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ContractionState.cxx b/src/ContractionState.cxx index 199b3cb78..68724ebab 100644 --- a/src/ContractionState.cxx +++ b/src/ContractionState.cxx @@ -197,7 +197,7 @@ Sci::Line ContractionState<LINE>::DocFromDisplay(Sci::Line lineDisplay) const no if (OneToOne()) { return lineDisplay; } else { - if (lineDisplay <= 0) { + if (lineDisplay < 0) { return 0; } if (lineDisplay > LinesDisplayed()) { |