|
|
commit 6efc997a02e3125290f9b0883a1a880b9e14bd4b
Author: Matthias Melcher <github@matthiasm.com>
AuthorDate: Fri Dec 17 21:27:17 2021 +0100
Commit: GitHub <noreply@github.com>
CommitDate: Fri Dec 17 21:27:17 2021 +0100
Updated Unicode utf8 byte limit in docs.
src/Fl_Text_Display.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git src/Fl_Text_Display.cxx src/Fl_Text_Display.cxx
index 7cf1e6e..64117da 100644
--- src/Fl_Text_Display.cxx
+++ src/Fl_Text_Display.cxx
@@ -396,7 +396,7 @@ void Fl_Text_Display::buffer( Fl_Text_Buffer *buf ) {
\note Style information in the style buffer must have the same byte offset as
the corresponding character in the text buffer. UTF-8 characters can have a
- length of four, in some cases even six bytes. Style information must take
+ maximum length of four bytes. Style information must take
this into account and fill the unused bytes with 0. See `fl_utf8len()`.
Text: "*g* r ü *n*" , where normal style is 'A', and bold is 'B'
[ Direct Link to Message ] | |
|
| |