Changed unchecked::next to look more like utf8::next
git-svn-id: http://svn.code.sf.net/p/utfcpp/code@25 a809a056-fc17-0410-9590-b4f493f8b08e
This commit is contained in:
parent
1e17f800fe
commit
5a0f1d3fc4
1 changed files with 1 additions and 1 deletions
|
@ -423,7 +423,7 @@ namespace internal
|
||||||
}
|
}
|
||||||
else if (((*it) >> 3) == 0x1e) {
|
else if (((*it) >> 3) == 0x1e) {
|
||||||
++it;
|
++it;
|
||||||
cp = ((cp << 18) & 0x1fffff) + (internal::mask8(*it) << 12) & 0x3ffff;
|
cp = ((cp << 18) & 0x1fffff) + ((internal::mask8(*it) << 12) & 0x3ffff);
|
||||||
++it;
|
++it;
|
||||||
cp += (internal::mask8(*it) << 6) & 0xfff;
|
cp += (internal::mask8(*it) << 6) & 0xfff;
|
||||||
++it;
|
++it;
|
||||||
|
|
Loading…
Reference in a new issue