Fixed comments.
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@1574 8092fc87-c524-0410-9efc-e669fe64eaf9
This commit is contained in:
@@ -45,7 +45,7 @@ getCharFromString(const unsigned char **ptr) {
|
||||
|
||||
if ((**ptr & 0xe0) == 0xc0) {
|
||||
// 110xxxxx; 10xxxxxx must follow
|
||||
// Value between 0x00000080 and 0x0000007f (inclusive)
|
||||
// Value between 0x00000080 and 0x000007ff (inclusive)
|
||||
result = **ptr & 0x1f;
|
||||
(*ptr)++;
|
||||
|
||||
@@ -63,7 +63,7 @@ getCharFromString(const unsigned char **ptr) {
|
||||
|
||||
if ((**ptr & 0xf0) == 0xe0) {
|
||||
// 1110xxxx; 10xxxxxx 10xxxxxx must follow
|
||||
// Value between 0x00000800 and 0x000007ff (inclusive)
|
||||
// Value between 0x00000800 and 0x0000ffff (inclusive)
|
||||
result = **ptr & 0x0f;
|
||||
(*ptr)++;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user