diff options
author | nyamatongwe <unknown> | 2010-08-18 10:19:13 +1000 |
---|---|---|
committer | nyamatongwe <unknown> | 2010-08-18 10:19:13 +1000 |
commit | 606c11de5e53d7ddb9cd4d204e56722df55fd7e3 (patch) | |
tree | 03219693b4b310482950d97fd9a85921a138a971 | |
parent | dd24e0025c0600e0dedcfaf116d816333b457301 (diff) | |
download | scintilla-mirror-606c11de5e53d7ddb9cd4d204e56722df55fd7e3.tar.gz |
Fixed error with old compiler's incorrect view of scope.
-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; |