aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/Editor.cxx
diff options
context:
space:
mode:
authornyamatongwe <unknown>2000-04-08 02:16:50 +0000
committernyamatongwe <unknown>2000-04-08 02:16:50 +0000
commit544b81845f054f23f488f758460136604735befa (patch)
treec731acca218796e64e4dfcfad2d5b507377dd60a /src/Editor.cxx
parent8e14fe0dec5bf0e7a5f38026693332810eebd733 (diff)
downloadscintilla-mirror-544b81845f054f23f488f758460136604735befa.tar.gz
Warning squashing.
Updated contributors list. Fixed lexing of MS warnings.
Diffstat (limited to 'src/Editor.cxx')
-rw-r--r--src/Editor.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Editor.cxx b/src/Editor.cxx
index 9b958b7d4..859421c92 100644
--- a/src/Editor.cxx
+++ b/src/Editor.cxx
@@ -2638,7 +2638,7 @@ char BraceOpposite(char ch) {
int Editor::BraceMatch(int position, int /*maxReStyle*/) {
char chBrace = pdoc->CharAt(position);
char chSeek = BraceOpposite(chBrace);
- if (chSeek != '\0')
+ if (chSeek == '\0')
return - 1;
char styBrace = static_cast<char>(
pdoc->StyleAt(position) & pdoc->stylingBitsMask);