diff options
author | nyamatongwe <unknown> | 2012-10-04 15:54:08 +1000 |
---|---|---|
committer | nyamatongwe <unknown> | 2012-10-04 15:54:08 +1000 |
commit | 9d51d00096890f44f751e690dc317028812eb2ab (patch) | |
tree | 40c178038e21dfa1948e653ff977bda543935608 /src | |
parent | d6c103266296459f4932d33f572994d894d35719 (diff) | |
download | scintilla-mirror-9d51d00096890f44f751e690dc317028812eb2ab.tar.gz |
Fix bug where non-ASCII hex escape did not match.
Diffstat (limited to 'src')
-rw-r--r-- | src/RESearch.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/RESearch.cxx b/src/RESearch.cxx index ffcc58d36..87f2a6985 100644 --- a/src/RESearch.cxx +++ b/src/RESearch.cxx @@ -788,7 +788,7 @@ int RESearch::Execute(CharacterIndexer &ci, int lp, int endp) { } case CHR: /* ordinary char: locate it fast */ c = *(ap+1); - while ((lp < endp) && (ci.CharAt(lp) != c)) + while ((lp < endp) && (static_cast<unsigned char>(ci.CharAt(lp)) != c)) lp++; if (lp >= endp) /* if EOS, fail, else fall thru. */ return 0; |