From bc1c92e7b5f4a871833deb904271886077047330 Mon Sep 17 00:00:00 2001 From: "royqh1979@gmail.com" Date: Thu, 23 Sep 2021 14:07:47 +0800 Subject: [PATCH] work save: fix code folder process --- RedPandaIDE/qsynedit/highlighter/cpp.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/RedPandaIDE/qsynedit/highlighter/cpp.cpp b/RedPandaIDE/qsynedit/highlighter/cpp.cpp index 47c82b01..74c0343b 100644 --- a/RedPandaIDE/qsynedit/highlighter/cpp.cpp +++ b/RedPandaIDE/qsynedit/highlighter/cpp.cpp @@ -369,9 +369,9 @@ void SynEditCppHighlighter::braceCloseProc() mRange.braceLevel -= 1; if (mRange.leftBraces>0) { - mRange.rightBraces++ ; - } else { mRange.leftBraces--; + } else { + mRange.rightBraces++ ; } }