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/Selection.cxx | |
parent | d55ea76cd64ec2770d97e62ccdfcff8ccad5b43d (diff) | |
download | scintilla-mirror-58f779b422ffbb2291364dcd5966ead10b21b087.tar.gz |
Formatting whitespace.
Diffstat (limited to 'src/Selection.cxx')
-rw-r--r-- | src/Selection.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Selection.cxx b/src/Selection.cxx index 2cdbe60f2..6f3267dfa 100644 --- a/src/Selection.cxx +++ b/src/Selection.cxx @@ -127,7 +127,7 @@ bool SelectionRange::Trim(SelectionRange range) { } else if (start <= startRange) { // Trim end end = startRange; - } else { // + } else { // PLATFORM_ASSERT(end >= endRange); // Trim start start = endRange; @@ -267,7 +267,7 @@ void Selection::TrimSelection(SelectionRange range) { for (size_t i=0; i<ranges.size();) { if ((i != mainRange) && (ranges[i].Trim(range))) { // Trimmed to empty so remove - for (size_t j=i;j<ranges.size()-1;j++) { + for (size_t j=i; j<ranges.size()-1; j++) { ranges[j] = ranges[j+1]; if (j == mainRange-1) mainRange--; |