diff options
author | nyamatongwe <devnull@localhost> | 2011-02-28 13:04:34 +1100 |
---|---|---|
committer | nyamatongwe <devnull@localhost> | 2011-02-28 13:04:34 +1100 |
commit | b7a1aa5a607fad68f65de0d4426af8f50468f1e0 (patch) | |
tree | 977ad66b6734e5e873974dd2d84d8718ed582b01 /src/Document.cxx | |
parent | eaea293d5ed6a06b496867d86bc7e4b41b0f383b (diff) | |
download | scintilla-mirror-b7a1aa5a607fad68f65de0d4426af8f50468f1e0.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++) { |