summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Melcher <fltk@matthiasm.com>2010-11-06 17:51:00 +0000
committerMatthias Melcher <fltk@matthiasm.com>2010-11-06 17:51:00 +0000
commitb1c062ebd197bd07ba9516d24cc601dba2bc50ec (patch)
treea59ae3a6a783bf6c71822fd38e0b6520ccc8c8f6
parent1d9781a7aee113e899929c0b2c006303377d03c8 (diff)
Minor changes of Fl_Text_Editor.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7805 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
-rw-r--r--src/Fl_Text_Editor.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/Fl_Text_Editor.cxx b/src/Fl_Text_Editor.cxx
index 60802a868..62b959d22 100644
--- a/src/Fl_Text_Editor.cxx
+++ b/src/Fl_Text_Editor.cxx
@@ -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;