summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/hb-buffer.cc2
-rw-r--r--src/hb-common.cc6
2 files changed, 4 insertions, 4 deletions
diff --git a/src/hb-buffer.cc b/src/hb-buffer.cc
index 2d75d726..1d3b602b 100644
--- a/src/hb-buffer.cc
+++ b/src/hb-buffer.cc
@@ -996,7 +996,7 @@ hb_buffer_get_script (hb_buffer_t *buffer)
* are orthogonal to the scripts, and though they are related, they are
* different concepts and should not be confused with each other.
*
- * Use hb_language_from_string() to convert from ISO 639 language codes to
+ * Use hb_language_from_string() to convert from BCP 47 language tags to
* #hb_language_t.
*
* Since: 0.9.2
diff --git a/src/hb-common.cc b/src/hb-common.cc
index eda41dd8..4940e7fb 100644
--- a/src/hb-common.cc
+++ b/src/hb-common.cc
@@ -325,14 +325,14 @@ retry:
/**
* hb_language_from_string:
* @str: (array length=len) (element-type uint8_t): a string representing
- * ISO 639 language code
+ * a BCP 47 language tag
* @len: length of the @str, or -1 if it is %NULL-terminated.
*
- * Converts @str representing an ISO 639 language code to the corresponding
+ * Converts @str representing a BCP 47 language tag to the corresponding
* #hb_language_t.
*
* Return value: (transfer none):
- * The #hb_language_t corresponding to the ISO 639 language code.
+ * The #hb_language_t corresponding to the BCP 47 language tag.
*
* Since: 0.9.2
**/