diff options
| author | Albrecht Schlosser <albrechts.fltk@online.de> | 2012-04-10 21:18:35 +0000 |
|---|---|---|
| committer | Albrecht Schlosser <albrechts.fltk@online.de> | 2012-04-10 21:18:35 +0000 |
| commit | c28adce903579741b3da98ea58c632666acabed8 (patch) | |
| tree | 9f85e67a7943db7776bf6a0fe70833b797ee7c33 | |
| parent | 6444e23359ed0d447f3495e2bebbcffbcd91d8e8 (diff) | |
Fix typos.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@9338 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
| -rw-r--r-- | FL/Fl.H | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -666,13 +666,13 @@ public: static int get_key(int key); // platform dependent /** Returns the text associated with the current event, including FL_PASTE or FL_DND_RELEASE events. - This can be used in response to FL_KEYUP, FL_KEYDOWN, FL_PASTE, FL_DND_RELEASE. + This can be used in response to FL_KEYUP, FL_KEYDOWN, FL_PASTE, and FL_DND_RELEASE. When responding to FL_KEYUP/FL_KEYDOWN, use this function instead of Fl::event_key() to get the text equivalent of keystrokes suitable for inserting into strings and text widgets. - The returned string is guaranteed to be be NULL terminated. + The returned string is guaranteed to be NULL terminated. However, see Fl::event_length() for the actual length of the string, in case the string itself contains NULLs that are part of the text data. |
