diff options
| author | nyamatongwe <unknown> | 2001-01-05 23:45:00 +0000 | 
|---|---|---|
| committer | nyamatongwe <unknown> | 2001-01-05 23:45:00 +0000 | 
| commit | 3995a7a46d6cef2b9673bf83a85904a995f37064 (patch) | |
| tree | 700f1b22d282d853ba488e8d5bc902a6fc5245f6 /src/LexPerl.cxx | |
| parent | 22aeb25499dc8c5f32486d5570d5ae05035c0e44 (diff) | |
| download | scintilla-mirror-3995a7a46d6cef2b9673bf83a85904a995f37064.tar.gz | |
Patch from Eric to fix bug in file ops.
Diffstat (limited to 'src/LexPerl.cxx')
| -rw-r--r-- | src/LexPerl.cxx | 2 | 
1 files changed, 1 insertions, 1 deletions
| diff --git a/src/LexPerl.cxx b/src/LexPerl.cxx index 2d06d9854..cdee673f2 100644 --- a/src/LexPerl.cxx +++ b/src/LexPerl.cxx @@ -315,7 +315,7 @@ static void ColourisePerlDoc(unsigned int startPos, int length, int initStyle,  				sooked[sookedpos] = '\0';  			} else if (ch == '-'  			           && isSingleCharOp(chNext) -			           && !isalnum((chNext2 = styler.SafeGetCharAt(2)))) { +			           && !isalnum((chNext2 = styler.SafeGetCharAt(i+2)))) {  				styler.ColourTo(i - 1, state);  				styler.ColourTo(i + 1, SCE_PL_WORD);  				state = SCE_PL_DEFAULT; | 
