summaryrefslogtreecommitdiffstats
path: root/include/charset.h
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2017-10-13 09:53:58 -0400
committerTom Rini <trini@konsulko.com>2017-10-13 09:53:58 -0400
commitf855a7bc12dc3bdf83905b4c72a6d795ee8d8ee5 (patch)
tree91c1ba0f537f66cf3f5b5c50f5399541bfe1fa85 /include/charset.h
parent26f9184e094541b672f83f23652e2e737d5d0729 (diff)
parentabe994633b2ad56c5eea87c9253873f41dab477d (diff)
downloadu-boot-f855a7bc12dc3bdf83905b4c72a6d795ee8d8ee5.tar.gz
u-boot-f855a7bc12dc3bdf83905b4c72a6d795ee8d8ee5.tar.xz
u-boot-f855a7bc12dc3bdf83905b4c72a6d795ee8d8ee5.zip
Merge tag 'signed-efi-next' of git://github.com/agraf/u-boot
Patch queue for efi - 2017-10-13 This is the second batch of amazing improvements for efi_loader in 2017.11: - New self tests to verify our own code - A few bug fixes - colored text support - event and SNP improvements, should get us close to iPXE working
Diffstat (limited to 'include/charset.h')
-rw-r--r--include/charset.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/charset.h b/include/charset.h
index 39279f746a..37a3278499 100644
--- a/include/charset.h
+++ b/include/charset.h
@@ -9,7 +9,7 @@
#ifndef __CHARSET_H_
#define __CHARSET_H_
-#define MAX_UTF8_PER_UTF16 4
+#define MAX_UTF8_PER_UTF16 3
/**
* utf16_strlen() - Get the length of an utf16 string
@@ -52,7 +52,7 @@ uint16_t *utf16_strdup(const uint16_t *s);
* Converts 'size' characters of the utf16 string 'src' to utf8
* written to the 'dest' buffer.
*
- * NOTE that a single utf16 character can generate up to 4 utf8
+ * NOTE that a single utf16 character can generate up to 3 utf8
* characters. See MAX_UTF8_PER_UTF16.
*
* @dest the destination buffer to write the utf8 characters