diff options
| author | nyamatongwe <devnull@localhost> | 2008-12-23 11:33:11 +0000 | 
|---|---|---|
| committer | nyamatongwe <devnull@localhost> | 2008-12-23 11:33:11 +0000 | 
| commit | 261e4529ceb56bd8a0ab00c5505174968f0ff245 (patch) | |
| tree | 2536da04441658778684c6819358ae79c7bb2b7f /src/PositionCache.cxx | |
| parent | 99eb09be54a94851377a8b086543da8d1730fb1b (diff) | |
| download | scintilla-mirror-261e4529ceb56bd8a0ab00c5505174968f0ff245.tar.gz | |
Avoid warnings with gcc 4.3
Diffstat (limited to 'src/PositionCache.cxx')
| -rw-r--r-- | src/PositionCache.cxx | 4 | 
1 files changed, 2 insertions, 2 deletions
diff --git a/src/PositionCache.cxx b/src/PositionCache.cxx index f40a15378..d9fb9a783 100644 --- a/src/PositionCache.cxx +++ b/src/PositionCache.cxx @@ -126,8 +126,8 @@ int LineLayout::LineLastVisible(int line) const {  }  bool LineLayout::InLine(int offset, int line) const { -	return ((offset >= LineStart(line)) && (offset < LineStart(line + 1)) || -		((offset == numCharsInLine) && (line == (lines-1)))); +	return ((offset >= LineStart(line)) && (offset < LineStart(line + 1))) || +		((offset == numCharsInLine) && (line == (lines-1)));  }  void LineLayout::SetLineStart(int line, int start) {  | 
