diff options
author | nyamatongwe <unknown> | 2003-07-21 00:30:24 +0000 |
---|---|---|
committer | nyamatongwe <unknown> | 2003-07-21 00:30:24 +0000 |
commit | 49d1f567ba6d99b9285f9bd67af21b1ff7c928c4 (patch) | |
tree | ab92b3220dac76d8170c4731374f8e96dd9ad35e /src | |
parent | 6cd6c9325db26c112d542133b68ba61cf36f5e45 (diff) | |
download | scintilla-mirror-49d1f567ba6d99b9285f9bd67af21b1ff7c928c4.tar.gz |
Fixed warning from Borland.
Diffstat (limited to 'src')
-rw-r--r-- | src/LexPS.cxx | 4 |
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); |