summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--base/third_party/icu/icu_utf.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/base/third_party/icu/icu_utf.h b/base/third_party/icu/icu_utf.h
index 050a84b..4d63eca 100644
--- a/base/third_party/icu/icu_utf.h
+++ b/base/third_party/icu/icu_utf.h
@@ -233,7 +233,7 @@ UChar32 utf8_nextCharSafeBody(const uint8 *s, int32 *pi, int32 length, UChar32 c
}
// UTF-16 macros ---------------------------------------------------------------
-// from utf8.h
+// from utf16.h
/**
* Does this code unit alone encode a code point (BMP, not a surrogate)?
@@ -241,7 +241,7 @@ UChar32 utf8_nextCharSafeBody(const uint8 *s, int32 *pi, int32 length, UChar32 c
* @return TRUE or FALSE
* @stable ICU 2.4
*/
-#define CBU16_IS_SINGLE(c) !U_IS_SURROGATE(c)
+#define CBU16_IS_SINGLE(c) !CBU_IS_SURROGATE(c)
/**
* Is this code unit a lead surrogate (U+d800..U+dbff)?