diff options
| author | Matthias Melcher <github@matthiasm.com> | 2021-12-17 21:27:17 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-12-17 21:27:17 +0100 |
| commit | 6efc997a02e3125290f9b0883a1a880b9e14bd4b (patch) | |
| tree | cd7084a08703772cb87e0646f30c68b9b78a187d /src | |
| parent | d13f9e736c70225a1103e2b59adc975c9bdad73e (diff) | |
Updated Unicode utf8 byte limit in docs.
Diffstat (limited to 'src')
| -rw-r--r-- | src/Fl_Text_Display.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Fl_Text_Display.cxx b/src/Fl_Text_Display.cxx index 7cf1e6eec..64117da72 100644 --- a/src/Fl_Text_Display.cxx +++ b/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' |
