aboutsummaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authornyamatongwe <unknown>2009-09-04 21:34:56 +0000
committernyamatongwe <unknown>2009-09-04 21:34:56 +0000
commitc52b0728f9f1ed045b03654cc33ef341a95458bb (patch)
tree5c52f5dc5bb47a4f95690f480f6075ea114cf684 /src
parent86ce55e0a096095639058c8b4529e511c5c3ffe8 (diff)
downloadscintilla-mirror-c52b0728f9f1ed045b03654cc33ef341a95458bb.tar.gz
Fixed warning about fall through which could have caused problems when
space characters added to set of word characters.
Diffstat (limited to 'src')
-rw-r--r--src/RESearch.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/RESearch.cxx b/src/RESearch.cxx
index 200bba516..0c400450e 100644
--- a/src/RESearch.cxx
+++ b/src/RESearch.cxx
@@ -418,6 +418,7 @@ int RESearch::GetBackslashExpression(
ChSet(static_cast<unsigned char>(c));
}
}
+ break;
case 'w':
for (c = 0; c < MAXCHR; c++) {
if (iswordc(static_cast<unsigned char>(c))) {