diff options
author | nyamatongwe <unknown> | 2010-02-17 00:39:46 +0000 |
---|---|---|
committer | nyamatongwe <unknown> | 2010-02-17 00:39:46 +0000 |
commit | 58f779b422ffbb2291364dcd5966ead10b21b087 (patch) | |
tree | fddf110012583bb00001b22648b574320f642815 /src/PerLine.cxx | |
parent | d55ea76cd64ec2770d97e62ccdfcff8ccad5b43d (diff) | |
download | scintilla-mirror-58f779b422ffbb2291364dcd5966ead10b21b087.tar.gz |
Formatting whitespace.
Diffstat (limited to 'src/PerLine.cxx')
-rw-r--r-- | src/PerLine.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/PerLine.cxx b/src/PerLine.cxx index 3e02d65fa..a19c117bc 100644 --- a/src/PerLine.cxx +++ b/src/PerLine.cxx @@ -241,7 +241,7 @@ void LineLevels::Init() { void LineLevels::InsertLine(int line) { if (levels.Length()) { int level = SC_FOLDLEVELBASE; - if ((line > 0) && (line < levels.Length())) { + if ((line > 0) && (line < levels.Length())) { level = levels[line-1] & ~SC_FOLDLEVELWHITEFLAG; } levels.InsertValue(line, 1, level); @@ -421,7 +421,7 @@ void LineAnnotation::SetText(int line, const char *text) { delete []annotations[line]; } annotations[line] = AllocateAnnotation(strlen(text), style); - AnnotationHeader *pah = reinterpret_cast<AnnotationHeader*>(annotations[line]); + AnnotationHeader *pah = reinterpret_cast<AnnotationHeader *>(annotations[line]); pah->style = static_cast<short>(style); pah->length = strlen(text); pah->lines = static_cast<short>(NumberLines(text)); |