From dbc212865652198882d42f265c42b7f7eb783393 Mon Sep 17 00:00:00 2001 From: nyamatongwe Date: Wed, 15 Aug 2001 08:20:55 +0000 Subject: Fixed some folding symbols. --- src/Editor.cxx | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) (limited to 'src') diff --git a/src/Editor.cxx b/src/Editor.cxx index ac8cb850c..1735de498 100644 --- a/src/Editor.cxx +++ b/src/Editor.cxx @@ -822,10 +822,15 @@ void Editor::PaintSelMargin(Surface *surfWindow, PRectangle &rc) { needWhiteClosure = false; } } else if (levelNum > SC_FOLDLEVELBASE) { - if (levelNextNum < levelNum) - marks |= 1 << SC_MARKNUM_FOLDERTAIL; - else + if (levelNextNum < levelNum) { + if (levelNextNum > SC_FOLDLEVELBASE) { + marks |= 1 << SC_MARKNUM_FOLDERMIDTAIL; + } else { + marks |= 1 << SC_MARKNUM_FOLDERTAIL; + } + } else { marks |= 1 << SC_MARKNUM_FOLDERSUB; + } } } else if (levelNum > SC_FOLDLEVELBASE) { if (levelNextNum < levelNum) { -- cgit v1.2.3