aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/LexPython.cxx
diff options
context:
space:
mode:
authornyamatongwe <devnull@localhost>2000-04-01 02:01:28 +0000
committernyamatongwe <devnull@localhost>2000-04-01 02:01:28 +0000
commitdda4ea2c804522c57e6dc2e4ae1ab1bb8b0ac073 (patch)
treea4a8d14a669ffe05bef03dc47f76262bc25b2e41 /src/LexPython.cxx
parenta54fa180f65c6664ecd707cd9953f0781eaefed6 (diff)
downloadscintilla-mirror-dda4ea2c804522c57e6dc2e4ae1ab1bb8b0ac073.tar.gz
Fixed warnings from Borland compiler.
Diffstat (limited to 'src/LexPython.cxx')
-rw-r--r--src/LexPython.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/LexPython.cxx b/src/LexPython.cxx
index acce39a4a..d7830b0b7 100644
--- a/src/LexPython.cxx
+++ b/src/LexPython.cxx
@@ -65,7 +65,6 @@ static void ColourisePyDoc(unsigned int startPos, int length, int initStyle,
char chPrev = ' ';
char chPrev2 = ' ';
char chNext = styler[startPos];
- char chNext2 = styler[startPos];
styler.StartSegment(startPos);
int lengthDoc = startPos + length;
bool atStartLine = true;
@@ -86,7 +85,7 @@ static void ColourisePyDoc(unsigned int startPos, int length, int initStyle,
char ch = chNext;
chNext = styler.SafeGetCharAt(i + 1);
- chNext2 = styler.SafeGetCharAt(i + 2);
+ char chNext2 = styler.SafeGetCharAt(i + 2);
if ((ch == '\r' && chNext != '\n') || (ch == '\n') || (i == lengthDoc)) {
if ((state == SCE_P_DEFAULT) || (state == SCE_P_TRIPLE) || (state == SCE_P_TRIPLEDOUBLE)) {