FLTK logo

[master] 6efc997 - Updated Unicode utf8 byte limit in docs.

FLTK matrix user chat room
(using Element browser app)   FLTK gitter user chat room   GitHub FLTK Project   FLTK News RSS Feed  
  FLTK Apps      FLTK Library      Forums      Links     Login 
 All Forums  |  Back to fltk.commit  ]
 
Previous Message ]Next Message ]

[master] 6efc997 - Updated Unicode utf8 byte limit in docs. "Matthias Melcher" Dec 17, 2021  
 
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 &uuml; *n*" , where normal style is 'A', and bold is 'B'
Direct Link to Message ]
 
     
Previous Message ]Next Message ]
 
 

Comments are owned by the poster. All other content is copyright 1998-2024 by Bill Spitzak and others. This project is hosted by The FLTK Team. Please report site problems to 'erco@seriss.com'.