aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--doc/ScintillaHistory.html1
-rw-r--r--lexers/LexPowerPro.cxx2
2 files changed, 2 insertions, 1 deletions
diff --git a/doc/ScintillaHistory.html b/doc/ScintillaHistory.html
index 55a638050..a295a71a0 100644
--- a/doc/ScintillaHistory.html
+++ b/doc/ScintillaHistory.html
@@ -349,6 +349,7 @@
<td>Xavi</td>
<td>Toby Inkster</td>
<td>Eric Forgeot</td>
+ <td>Colomban Wendling</td>
</tr>
</table>
<p>
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;