diff options
author | Neil <nyamatongwe@gmail.com> | 2024-12-01 09:35:32 +1100 |
---|---|---|
committer | Neil <nyamatongwe@gmail.com> | 2024-12-01 09:35:32 +1100 |
commit | 7ab81a310fdd4f2196034eaecb1d03fbd4ef203c (patch) | |
tree | 829203ce30b9b2528b6c3db9901384e325ad9fed | |
parent | d7aa275894ce878d5d8b62acd3deba608e8a5b75 (diff) | |
download | scintilla-mirror-7ab81a310fdd4f2196034eaecb1d03fbd4ef203c.tar.gz |
Code format: no space in -1.
-rw-r--r-- | src/Document.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Document.cxx b/src/Document.cxx index 41a1c3414..d30cb50cf 100644 --- a/src/Document.cxx +++ b/src/Document.cxx @@ -2846,7 +2846,7 @@ Sci::Position Document::BraceMatch(Sci::Position position, Sci::Position /*maxRe const unsigned char chBrace = CharAt(position); const unsigned char chSeek = BraceOpposite(chBrace); if (chSeek == '\0') - return - 1; + return -1; const int styBrace = StyleIndexAt(position); int direction = -1; if (chBrace == '(' || chBrace == '[' || chBrace == '{' || chBrace == '<') @@ -2872,7 +2872,7 @@ Sci::Position Document::BraceMatch(Sci::Position position, Sci::Position /*maxRe } position += direction; } - return - 1; + return -1; } /** |