aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authornyamatongwe <devnull@localhost>2003-07-21 00:30:24 +0000
committernyamatongwe <devnull@localhost>2003-07-21 00:30:24 +0000
commitae63e6cd756019b0b7b72da91a77559e72eb0305 (patch)
treeab92b3220dac76d8170c4731374f8e96dd9ad35e
parentc80aa6080454a78df3f356b02264fd3f2f1d71bf (diff)
downloadscintilla-mirror-ae63e6cd756019b0b7b72da91a77559e72eb0305.tar.gz
Fixed warning from Borland.
-rw-r--r--src/LexPS.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/LexPS.cxx b/src/LexPS.cxx
index d73a190e9..97834862f 100644
--- a/src/LexPS.cxx
+++ b/src/LexPS.cxx
@@ -64,7 +64,7 @@ static void ColourisePSDoc(
WordList &keywords5 = *keywordlists[4];
StyleContext sc(startPos, length, initStyle, styler);
-
+
bool tokenizing = styler.GetPropertyInt("ps.tokenize") != 0;
int pslevel = styler.GetPropertyInt("ps.level", 3);
int lineCurrent = styler.GetLine(startPos);
@@ -289,7 +289,7 @@ static void FoldPSDoc(unsigned int startPos, int length, int initStyle, WordList
int levelNext = levelCurrent;
char chNext = styler[startPos];
int styleNext = styler.StyleAt(startPos);
- int style = initStyle;
+ int style;
for (unsigned int i = startPos; i < endPos; i++) {
char ch = chNext;
chNext = styler.SafeGetCharAt(i + 1);