aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/Document.cxx
diff options
context:
space:
mode:
authornyamatongwe <devnull@localhost>2011-02-28 13:04:34 +1100
committernyamatongwe <devnull@localhost>2011-02-28 13:04:34 +1100
commitb7a1aa5a607fad68f65de0d4426af8f50468f1e0 (patch)
tree977ad66b6734e5e873974dd2d84d8718ed582b01 /src/Document.cxx
parenteaea293d5ed6a06b496867d86bc7e4b41b0f383b (diff)
downloadscintilla-mirror-b7a1aa5a607fad68f65de0d4426af8f50468f1e0.tar.gz
Avoid shadowed variables as reported by Xcode.
Diffstat (limited to 'src/Document.cxx')
-rw-r--r--src/Document.cxx4
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++) {