summaryrefslogtreecommitdiff
path: root/fluid
diff options
context:
space:
mode:
authorMichael R Sweet <michael.r.sweet@gmail.com>2003-05-27 20:20:20 +0000
committerMichael R Sweet <michael.r.sweet@gmail.com>2003-05-27 20:20:20 +0000
commit3bad53ae79367a595fa598ed8c38634ec2db215d (patch)
treefca9340a4505e9d473e3f51f86af4254085addaa /fluid
parentfdfa3f0add5cd27680008d45d0ac0fc67318a41c (diff)
Fix STR #52 - Fl_Text_Editor didn't set changed() nor did it call callbacks
for composed characters. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@3007 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'fluid')
-rw-r--r--fluid/Fl_Widget_Type.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/fluid/Fl_Widget_Type.cxx b/fluid/Fl_Widget_Type.cxx
index dfa7a46cc..083e7ad66 100644
--- a/fluid/Fl_Widget_Type.cxx
+++ b/fluid/Fl_Widget_Type.cxx
@@ -1,5 +1,5 @@
//
-// "$Id: Fl_Widget_Type.cxx,v 1.15.2.16.2.24 2003/05/18 22:12:19 easysw Exp $"
+// "$Id: Fl_Widget_Type.cxx,v 1.15.2.16.2.25 2003/05/27 20:20:17 easysw Exp $"
//
// Widget type code for the Fast Light Tool Kit (FLTK).
//
@@ -955,8 +955,8 @@ void callback_cb(Fl_Text_Editor* i, void *v) {
if (i->window()) i->window()->make_current();
haderror = 1;
}
- for (Fl_Type *o = Fl_Type::first; o; o = o->next) if (o->selected) {
- o->callback(c);
+ for (Fl_Type *o = Fl_Type::first; o; o = o->next) {
+ if (o->selected) o->callback(c);
}
free(c);
}
@@ -1978,5 +1978,5 @@ int Fl_Widget_Type::read_fdesign(const char* propname, const char* value) {
}
//
-// End of "$Id: Fl_Widget_Type.cxx,v 1.15.2.16.2.24 2003/05/18 22:12:19 easysw Exp $".
+// End of "$Id: Fl_Widget_Type.cxx,v 1.15.2.16.2.25 2003/05/27 20:20:17 easysw Exp $".
//