diff options
| author | nyamatongwe <devnull@localhost> | 2010-08-18 10:19:13 +1000 |
|---|---|---|
| committer | nyamatongwe <devnull@localhost> | 2010-08-18 10:19:13 +1000 |
| commit | 466a3e482ff0798c6fef7637ccf596750c48bcc4 (patch) | |
| tree | 2e3714236f5f605bfea6e876777798d83caeba3a /lexers/LexPowerPro.cxx | |
| parent | 17c2e53b4ab3c87e513b81623aa19c0e8e0cee58 (diff) | |
| download | scintilla-mirror-466a3e482ff0798c6fef7637ccf596750c48bcc4.tar.gz | |
Fixed error with old compiler's incorrect view of scope.
Diffstat (limited to 'lexers/LexPowerPro.cxx')
| -rw-r--r-- | lexers/LexPowerPro.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lexers/LexPowerPro.cxx b/lexers/LexPowerPro.cxx index cb5773501..89bce5800 100644 --- a/lexers/LexPowerPro.cxx +++ b/lexers/LexPowerPro.cxx @@ -114,7 +114,7 @@ static bool IsFunction(Accessor &styler, unsigned int currentPos) { //make sure that there are only spaces (or tabs) between the beginning //of the line and the function declaration position = currentPos - numberOfCharacters - 1; //-1 to move to char before 'function' - for (unsigned int i = 0; i < 16; i++) { //check up to 16 preceeding characters + for (unsigned int j = 0; j < 16; j++) { //check up to 16 preceeding characters char c = styler.SafeGetCharAt(position--, '\0'); //if can't read char, return NUL (past beginning of document) if (c <= 0) //reached beginning of document return true; |
