diff options
author | XhmikosR <xhmikosr@users.sourceforge.net> | 2012-10-05 14:23:29 +0300 |
---|---|---|
committer | XhmikosR <xhmikosr@users.sourceforge.net> | 2012-10-05 14:23:29 +0300 |
commit | 0de9e62977e4c4976c783217ec94a61c52dd25b5 (patch) | |
tree | 84bdddee1281eef839df8f28c36817f4275daa9d /scintilla/src | |
parent | 85823e4191a7d184568daadf90c6739fcf514a0a (diff) | |
download | notepad2-mod-0de9e62977e4c4976c783217ec94a61c52dd25b5.zip notepad2-mod-0de9e62977e4c4976c783217ec94a61c52dd25b5.tar.gz notepad2-mod-0de9e62977e4c4976c783217ec94a61c52dd25b5.tar.bz2 |
update scintilla to 13e09b27b3c8 HG
Diffstat (limited to 'scintilla/src')
-rw-r--r-- | scintilla/src/RESearch.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scintilla/src/RESearch.cxx b/scintilla/src/RESearch.cxx index 2a6bab8..d3da8fb 100644 --- a/scintilla/src/RESearch.cxx +++ b/scintilla/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;
|