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:
meep-eep
2005-03-08 19:23:26 +00:00
parent cfd005f8a9
commit b6e74c20c4
+2 -2
View File
@@ -45,7 +45,7 @@ getCharFromString(const unsigned char **ptr) {
if ((**ptr & 0xe0) == 0xc0) { if ((**ptr & 0xe0) == 0xc0) {
// 110xxxxx; 10xxxxxx must follow // 110xxxxx; 10xxxxxx must follow
// Value between 0x00000080 and 0x0000007f (inclusive) // Value between 0x00000080 and 0x000007ff (inclusive)
result = **ptr & 0x1f; result = **ptr & 0x1f;
(*ptr)++; (*ptr)++;
@@ -63,7 +63,7 @@ getCharFromString(const unsigned char **ptr) {
if ((**ptr & 0xf0) == 0xe0) { if ((**ptr & 0xf0) == 0xe0) {
// 1110xxxx; 10xxxxxx 10xxxxxx must follow // 1110xxxx; 10xxxxxx 10xxxxxx must follow
// Value between 0x00000800 and 0x000007ff (inclusive) // Value between 0x00000800 and 0x0000ffff (inclusive)
result = **ptr & 0x0f; result = **ptr & 0x0f;
(*ptr)++; (*ptr)++;