diff options
author | nyamatongwe <unknown> | 2011-02-28 13:04:34 +1100 |
---|---|---|
committer | nyamatongwe <unknown> | 2011-02-28 13:04:34 +1100 |
commit | f67325b4e01ae0c4656927663f9d03c985119e92 (patch) | |
tree | 28765c6ac5c413f33cf6588e089de976150de343 /src/Document.cxx | |
parent | 20f85b2905da617a55328fd56b4a6b485e9aeace (diff) | |
download | scintilla-mirror-f67325b4e01ae0c4656927663f9d03c985119e92.tar.gz |
Avoid shadowed variables as reported by Xcode.
Diffstat (limited to 'src/Document.cxx')
-rw-r--r-- | src/Document.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Document.cxx b/src/Document.cxx index c0290936f..34e6a99f3 100644 --- a/src/Document.cxx +++ b/src/Document.cxx @@ -1522,8 +1522,8 @@ void Document::EnsureStyledTo(int pos) { IncrementStyleClock(); if (pli && !pli->UseContainerLexing()) { int lineEndStyled = LineFromPosition(GetEndStyled()); - int endStyled = LineStart(lineEndStyled); - pli->Colourise(endStyled, pos); + int endStyledTo = LineStart(lineEndStyled); + pli->Colourise(endStyledTo, pos); } else { // Ask the watchers to style, and stop as soon as one responds. for (int i = 0; pos > GetEndStyled() && i < lenWatchers; i++) { |