diff options
author | nyamatongwe <devnull@localhost> | 2001-01-05 23:45:00 +0000 |
---|---|---|
committer | nyamatongwe <devnull@localhost> | 2001-01-05 23:45:00 +0000 |
commit | 7a02cbdad06ff2d3a3f42f8519974e3521a1ef68 (patch) | |
tree | 700f1b22d282d853ba488e8d5bc902a6fc5245f6 /src/LexPerl.cxx | |
parent | 88ddb5a91646da0bcb42219e246da86c8b70dc77 (diff) | |
download | scintilla-mirror-7a02cbdad06ff2d3a3f42f8519974e3521a1ef68.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; |