diff options
author | nyamatongwe <devnull@localhost> | 2010-02-17 00:39:46 +0000 |
---|---|---|
committer | nyamatongwe <devnull@localhost> | 2010-02-17 00:39:46 +0000 |
commit | 81966e31f21a009cbae89dd3f774b3a410f201e4 (patch) | |
tree | fddf110012583bb00001b22648b574320f642815 /src/PerLine.cxx | |
parent | 827c80b678ba55806c611de6163cafa7dcf03fb8 (diff) | |
download | scintilla-mirror-81966e31f21a009cbae89dd3f774b3a410f201e4.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)); |