diff options
author | nyamatongwe <unknown> | 2008-12-23 11:33:11 +0000 |
---|---|---|
committer | nyamatongwe <unknown> | 2008-12-23 11:33:11 +0000 |
commit | dd8505c0d64e2f2d42f7aeef761ca2fb42b01190 (patch) | |
tree | 2536da04441658778684c6819358ae79c7bb2b7f /src/Document.cxx | |
parent | f797cc6b8ca81530565c989d40ac9bc2b1952465 (diff) | |
download | scintilla-mirror-dd8505c0d64e2f2d42f7aeef761ca2fb42b01190.tar.gz |
Avoid warnings with gcc 4.3
Diffstat (limited to 'src/Document.cxx')
-rw-r--r-- | src/Document.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/Document.cxx b/src/Document.cxx index 9dca92035..611da25a0 100644 --- a/src/Document.cxx +++ b/src/Document.cxx @@ -1059,8 +1059,8 @@ long Document::FindText(int minPos, int maxPos, const char *s, } if (found) { if ((!word && !wordStart) || - word && IsWordAt(pos, pos + lengthFind) || - wordStart && IsWordStartAt(pos)) + (word && IsWordAt(pos, pos + lengthFind)) || + (wordStart && IsWordStartAt(pos))) return pos; } } @@ -1075,8 +1075,8 @@ long Document::FindText(int minPos, int maxPos, const char *s, } if (found) { if ((!word && !wordStart) || - word && IsWordAt(pos, pos + lengthFind) || - wordStart && IsWordStartAt(pos)) + (word && IsWordAt(pos, pos + lengthFind)) || + (wordStart && IsWordStartAt(pos))) return pos; } } |