diff options
| author | nyamatongwe <devnull@localhost> | 2000-04-08 02:16:50 +0000 | 
|---|---|---|
| committer | nyamatongwe <devnull@localhost> | 2000-04-08 02:16:50 +0000 | 
| commit | 4fe90137dc48e5ca07e9223694ab8926c9ebbf13 (patch) | |
| tree | c731acca218796e64e4dfcfad2d5b507377dd60a /src | |
| parent | 7651d2bdd62655820b09e91d4efa7d3673eddcb8 (diff) | |
| download | scintilla-mirror-4fe90137dc48e5ca07e9223694ab8926c9ebbf13.tar.gz | |
Warning squashing.
Updated contributors list.
Fixed lexing of MS warnings.
Diffstat (limited to 'src')
| -rw-r--r-- | src/Editor.cxx | 2 | ||||
| -rw-r--r-- | src/LexOthers.cxx | 3 | 
2 files changed, 2 insertions, 3 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); diff --git a/src/LexOthers.cxx b/src/LexOthers.cxx index 222bc74ff..30589d6f3 100644 --- a/src/LexOthers.cxx +++ b/src/LexOthers.cxx @@ -158,7 +158,6 @@ static void ColouriseErrorListLine(char *lineBuffer, int lengthLine, int endPos,  				state = 14;  			} else if (state == 11 && lineBuffer[i] == ')') {  				state = 12; -				break;  			} else if (state == 12 && lineBuffer[i] == ':') {  				state = 13;  			} else if (state == 14 && lineBuffer[i] == ')') { @@ -170,7 +169,7 @@ static void ColouriseErrorListLine(char *lineBuffer, int lengthLine, int endPos,  		}  		if (state == 3) {  			styler.ColourTo(endPos, 2); -		} else if ((state == 14) || (state == 15)) { +		} else if ((state == 13) || (state == 14) || (state == 15)) {  			styler.ColourTo(endPos, 3);  		} else {  			styler.ColourTo(endPos, 0); | 
