From 0b3471658da70e09e6ded978446e6941a9c0b8db Mon Sep 17 00:00:00 2001 From: Manolo Gouy Date: Sun, 5 Apr 2015 20:05:46 +0000 Subject: Documentation: replaced characters by bytes as the correct unit of Fl::event_length() when pasting text. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10678 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- FL/Fl.H | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/FL/Fl.H b/FL/Fl.H index 647bbb869..7a621ef7a 100644 --- a/FL/Fl.H +++ b/FL/Fl.H @@ -868,7 +868,7 @@ public: Set things up so the handle function of the \p receiver widget will be called with an FL_PASTE event some time in the future if the clipboard does contain data of the requested type. During processing of this event, and if \p type is Fl::clipboard_plain_text, the text data from the specified \p source are in Fl::event_text() - with UTF-8 encoding, and the number of characters in Fl::event_length(); + with UTF-8 encoding, and the number of bytes in Fl::event_length(); if \p type is Fl::clipboard_image, Fl::event_clipboard() returns a pointer to the image data, as an Fl_Image *. The receiver -- cgit v1.2.3