Minor changes of Fl_Text_Editor.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7805 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
This commit is contained in:
parent
1d9781a7ae
commit
b1c062ebd1
@ -234,6 +234,7 @@ static void kill_selection(Fl_Text_Editor* e) {
|
||||
|
||||
/** Inserts the text associated with the key */
|
||||
int Fl_Text_Editor::kf_default(int c, Fl_Text_Editor* e) {
|
||||
// FIXME: this function is a mess! Fix this!
|
||||
if (!c || (!isprint(c) && c != '\t')) return 0;
|
||||
char s[2] = "\0";
|
||||
s[0] = (char)c;
|
||||
|
Loading…
x
Reference in New Issue
Block a user