work save: fix code folder process

This commit is contained in:
royqh1979@gmail.com 2021-09-23 14:04:33 +08:00
parent 842e1f6cbd
commit af288afa7e
2 changed files with 3 additions and 2 deletions

View File

@ -6,3 +6,4 @@ Version 0.2
- enhancement: run executable with parameters
- add: widget for function tips
- enhancement: options for editor tooltips
- fix: editor folder process error

View File

@ -368,7 +368,7 @@ void SynEditCppHighlighter::braceCloseProc()
}
mRange.braceLevel -= 1;
if (mRange.leftBraces<=mRange.rightBraces) {
if (mRange.leftBraces>0) {
mRange.rightBraces++ ;
} else {
mRange.leftBraces--;