summaryrefslogtreecommitdiffstats
path: root/scintilla/lexlib/StyleContext.h
diff options
context:
space:
mode:
Diffstat (limited to 'scintilla/lexlib/StyleContext.h')
-rw-r--r--scintilla/lexlib/StyleContext.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/scintilla/lexlib/StyleContext.h b/scintilla/lexlib/StyleContext.h
index abd69e9..7c4dbaf 100644
--- a/scintilla/lexlib/StyleContext.h
+++ b/scintilla/lexlib/StyleContext.h
@@ -172,11 +172,11 @@ public:
}
int diffRelative = n - offsetRelative;
int posNew = multiByteAccess->GetRelativePosition(posRelative, diffRelative);
- int ch = multiByteAccess->GetCharacterAndWidth(posNew, 0);
+ int chReturn = multiByteAccess->GetCharacterAndWidth(posNew, 0);
posRelative = posNew;
currentPosLastRelative = currentPos;
offsetRelative = n;
- return ch;
+ return chReturn;
} else {
// fast version for single byte encodings
return static_cast<unsigned char>(styler.SafeGetCharAt(currentPos + n, 0));